🧠 Data Structures & Algorithms

164
Problems Curated
56
Solved
πŸ“‹ View All Problems β†’

Topics

πŸ“ Arrays

Sliding window, two pointers, prefix sums, Kadane's. Core pattern mastery.

16/45 solved

πŸ”€ Strings

Pattern matching, hashing, palindromes, anagrams, encoding.

12/25 solved

πŸ”— Linked List

Singly & doubly lists, cycle detection, reversal, fast/slow pointers.

12/13 solved

⚑ Stacks

LIFO structure, monotonic stacks, applications.

0/4 solved

πŸ”„ Queues

FIFO structure, circular & priority queues. 🚧 Content coming.

🌲 Trees

Traversals, BST, segment trees, tries.

7/11 solved

πŸ” Searching & Sorting

Binary search, binary search on answer, all sorting algorithms.

22/28 solved

πŸ•ΈοΈ Graphs

BFS/DFS, shortest paths, MST, topological sort. 🚧 Content coming.

πŸ’‘ Dynamic Programming

1D/2D DP, Knapsack family, memoization vs tabulation. 🚧 Content coming.

πŸ” Recursion

Base cases, recurrence, stack frames, tail recursion. 🚧 Content coming.

πŸ”™ Backtracking

Try/choose/backtrack; pruning with constraints. 🚧 Content coming.

πŸ“ Binary Search

Lower/upper bound, first/last occurrence, rotated arrays. 🚧 Content coming.

#️⃣ Hashing

Hashmaps & sets: frequency counts, two-sum pattern, grouping, prefix-sum + map.

1/13 solved

πŸ”οΈ Heaps

Min/max-heap, priority queue: top-K, K-way merge, running median patterns.

1/8 solved

🌿 Greedy

Local optimal choices: interval scheduling, jump games, two-pass patterns.

0/8 solved

βš™οΈ Bit Manipulation

AND/OR/XOR tricks, Brian Kernighan, power-of-two checks, single number.

0/9 solved

πŸ“ Intervals

Merge, insert, intersect: sort by start, sweep for overlaps.

0/7 solved

← Back to Learning Hub 🏠 Home