Understanding Dynamic Programming

Dynamic Programming (DP) is a technique used to solve problems by breaking them into smaller subproblems and storing the results to avoid redundant work.One of the most basic examples is calculating t...
0 Read More

Map

map = key , value pair Unique value only -> Depends on key Always sorted depends on key ⛶#include using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); ...
0 Read More

Cpp Tip for the Performance

C++ Tip # 1: https://lnkd.in/gZ6mqHyW C++Tip #2: https://lnkd.in/gPyaC7B6 C++Tip #3: https://lnkd.in/gjDQE9Je C++ Tip #4: https://lnkd.in/gR4iYWSx🚀 𝗖++ 𝗧𝗶𝗽 #𝟱: Prefer nullptr over ...
0 Read More

How to Install GCC 14 and Use C++23

Several new features such as: std::print, std::println and others. GCC 14 has several new usability improvements. Although GCC 15 is already available, many systems still do not have it avail...
0 Read More

Shift-To-Middle Array

Hi all!I created a new way to implement lists. Essentially it's the same as array deques, however I've never seen this approach for lists. I wrote a publication (currently working on the second versio...
0 Read More