π§ DSA & Programming Β· 2 articles
DSA & Programming
Data structures, algorithms, problem-solving patterns and interview preparation, documented as I level up.
DSA NotesC++Problem SolvingInterview PrepAlgorithms

π§ DSA & Programming
Advanced
Dynamic Programming: The 4 Patterns That Repeat
Almost every DP problem I have solved is one of four shapes. Learn to recognize the shape first, then the recurrence writes itself. With worked examples and the space-optimization moves.
Sandesh BramhaneAug 15, 2026
#dsa#dynamic-programming#algorithms1 min1602

π§ DSA & Programming
Intermediate
Mastering the Two-Pointer Pattern in DSA
Two pointers turns O(nΒ²) brute force into O(n) β when the problem is sorted or order-preserving. The three sub-patterns, the exact conditions that unlock each, and worked solutions in C++ and JS.
Sandesh BramhaneJul 28, 2026
#dsa#algorithms#arrays1 min9002
explore another world