Algorithms
Data structures and algorithms for interviews and beyond: patterns, proofs, and practice problems.
23 of 103 problems solved · 22%
Live from my tracking sheet ↗Big-O & Recurrences
Asymptotic notation, recurrences, and the Master Theorem.
5/5 problemsProblems
- Read: Growth of Functions (Big-O, Big-Theta, Big-Omega)Medium
- Practice: Master Theorem and recurrencesMedium
- 50. Pow(x, n)Medium
- 69. Sqrt(x)Easy
- Self-assigned: implement Merge Sort and write recurrence solutionMedium
Arrays & Strings
Core operations, indexing, and common problems.
12/12 problemsProblems
- 1. Two SumEasy
- 125. Valid PalindromeEasy
- 242. Valid AnagramEasy
- 121. Best Time to Buy and Sell StockEasy
- 238. Product of Array Except SelfMedium
- 27. Remove ElementEasy
- 283. Move ZeroesEasy
- 189. Rotate ArrayEasy
- 344. Reverse StringEasy
- 14. Longest Common PrefixEasy
- 567. Permutation in StringMedium
- 3. Longest Substring Without Repeating CharactersMedium
Two Pointers
Opposite-end and slow/fast pointers, including linked lists.
6/8 problemsSliding Window
Fixed and variable windows, min/max windows, minimum window substring.
0/6 problemsBinary Search
Index search, binary search on the answer, rotated arrays, invariants.
0/8 problemsProblems
Divide & Conquer
Merge sort, quicksort, quickselect, and recurrence reasoning.
0/6 problemsProblems
- Read & Exercises: Divide-and-conquer techniques (merge sort, recurrences)Medium
- 912. Sort an Array (implement merge/quick as required)Medium
- 215. Kth Largest Element in an Array (quickselect)Medium
- 169. Majority Element (divide-and-conquer approach)Easy
- 493. Reverse Pairs (merge-sort/counting inversions variant)Hard
- 327. Count of Range Sum (divide-and-conquer advanced)Hard
Recursion & Backtracking
Tree recursion, permutations, combinations, and pruning.
0/10 problemsProblems
- 46. PermutationsMedium
- 47. Permutations IIMedium
- 78. SubsetsEasy
- 79. Word SearchMedium
- 22. Generate ParenthesesMedium
- 131. Palindrome PartitioningMedium
- 39. Combination SumMedium
- 40. Combination Sum IIMedium
- 17. Letter Combinations of a Phone NumberMedium
- 51. N-QueensHard
Greedy
Interval scheduling, sort-by-key heuristics, and exchange arguments.
0/6 problemsProblems
- 435. Non-overlapping IntervalsMedium
- 452. Minimum Number of Arrows to Burst BalloonsMedium
- 455. Assign CookiesEasy
- 55. Jump Game (greedy solution)Medium
- 45. Jump Game IIMedium
- Read & Exercises: Greedy algorithm design and proofsMedium
Dynamic Programming
1D/2D DP, memoization vs. tabulation, classic problems.
0/14 problemsProblems
- 70. Climbing StairsEasy
- 509. Fibonacci Number (memoization practice)Easy
- 198. House RobberMedium
- 213. House Robber IIMedium
- 300. Longest Increasing SubsequenceHard
- 53. Maximum Subarray (Kadane)Easy
- 322. Coin ChangeMedium
- 518. Coin Change 2Medium
- 139. Word BreakMedium
- 120. TriangleMedium
- 746. Min Cost Climbing StairsEasy
- 62. Unique PathsMedium
- Self-assigned: implement patience sorting for LISHard
- Read & Exercises: Dynamic Programming chapter (matrix-chain, optimal substructure)Hard
Graphs
BFS/DFS, shortest paths, topological sort, union-find.
0/10 problemsProblems
Advanced Data Structures
Segment trees, Fenwick trees, tries, rolling hashes, bitmasks.
0/6 problemsProblems
- 307. Range Sum Query - Mutable (Segment Tree / BIT practice)Hard
- 208. Implement Trie (Prefix Tree)Medium
- 211. Add and Search Word - Data structure design (Trie + wildcard)Medium
- 315. Count of Smaller Numbers After Self (Fenwick / BIT or merge-sort)Hard
- Self-assigned: implement Fenwick Tree and Segment Tree (read+implement)Hard
- 28. Implement strStr() (practice rolling-hash/KMP ideas)Easy
Revision & Mock Interviews
Timed mixed sets, review of weak topics, mock interviews.
0/12 problemsProblems
- Top 50 Mediums (sample) - Mock set 1M/H
- Top 50 Mediums - Mock set 2M/H
- 23. Merge k Sorted ListsHard
- 297. Serialize and Deserialize Binary TreeHard
- 218. The Skyline ProblemHard
- 127. Word Ladder (review)Medium
- Self-assigned: pick 8 medium problems from earlier topics (timed)Medium
- LeetCode Mock Interview toolM/H
- 2-3 mock interviews (peer)M/H
- Do 3 timed 90-minute sessions covering mixed topicsHard
- Review: re-solve 10 previously failed problemsM/H
- LeetCode Explore / Top Interview Questions listMedium