0 day streak

FREE PREP PATH · 2 OF 2

Senior and staff: the interview prep path

Everything in the first path, then the medium and hard problems companies report most, every system design walkthrough, the full low level design course, every behavioral theme and AI engineering. Cover it and you are ready for any loop.

For SDE 3, senior, staff and principal engineers (5+ years)

DSA problems
593
System design
138
Low level design
90
Behavioral themes
16
At 2 hours a day
~42 weeks
Optional: AI engineering
+35
Your progress 0 of 837 done
  1. 1DSA core: the 231 sheet0/231
  2. 2Advanced DSA: most reported mediums and hards0/362
  3. 3System design, all of it0/138
  4. 4Low level design, the full course0/90
  5. 5Leadership and behavioral0/16
  6. 6AI engineering0/35

Progress is saved in this browser. Create a free account to keep it on every device.

1

DSA core: the 231 sheet

The same core sheet as the first path. If you already know it, move fast: revise each problem once and log it.

231 items · about 116 hours

Arrays & Hashing28
  1. Two Sum Learn the pattern →
  2. Two Sum Easy
  3. 3Sum Medium
  4. Moore's Voting Algorithm Learn the pattern →
  5. Majority Element Easy
  6. Majority Element II Medium
  7. Kadane's Algorithm Learn the pattern →
  8. Kadane's Algorithm - Simple Medium
  9. Find minimum subarray sum Medium
  10. Kadane's Algo - Circular Array - No Extra Space Hard
  11. Double Reversal Trick Learn the pattern →
  12. Rotate Array Medium
  13. Reverse Words in a String Medium
  14. Two Pointer Learn the pattern →
  15. Two Sum II - Input Array Is Sorted Medium
  16. Valid Triangle Number Medium
  17. Right to Left Traversal Learn the pattern →
  18. Array Leaders Easy
  19. Product of Array Except Self Medium
  20. In-place Transformations Learn the pattern →
  21. Set Matrix Zeroes Medium
  22. Find All Duplicates in an Array Medium
  23. Merge Sort Like Approach Learn the pattern →
  24. Count Inversions Medium
  25. Arranging the array Medium
  26. Dutch National Flag Learn the pattern →
  27. Sort Colors Medium
  28. Prefix Sum Strategy Learn the pattern →
  29. Subarray Sum Equals K Medium
  30. Subarray with given XOR Medium
  31. Range Sum Query - Immutable Easy
  32. Sliding Window · Fixed Learn the pattern →
  33. Maximum Average Subarray I Easy
  34. K Radius Subarray Averages Medium
  35. Maximum Number of Vowels in a Substring of Given Length Medium
  36. Sliding Window · Variable Learn the pattern →
  37. Minimum Size Subarray Sum Medium
  38. Count of Subarrays with Product Less Than K Medium
  39. Sliding Window · Hash Map Learn the pattern →
  40. Number of Substrings Containing All Three Characters Medium
  41. Minimum Window Substring Hard
Stack7
  1. Stack Basics Learn the pattern →
  2. Valid Parentheses Easy
  3. Baseball Game Easy
  4. Asteroid Collision Medium
  5. Min Stack Medium
  6. Remove All Adjacent Duplicates In String Easy
  7. Evaluate Reverse Polish Notation Medium
  8. Basic Calculator Hard
Monotonic Stack4
  1. Monotonic Stack Learn the pattern →
  2. Next Greater Element I Easy
  3. Daily Temperatures Medium
  4. Next Greater Element II Medium
  5. Largest Rectangle in Histogram Hard
Linked List20
  1. Dummy Node Pattern Learn the pattern →
  2. Remove Linked List Elements Easy
  3. Delete Nodes From Linked List Present in Array Medium
  4. Merge Two Sorted Lists Easy
  5. Rotate List Medium
  6. Swap Nodes in Pairs Medium
  7. Swapping Nodes in a Linked List Medium
  8. Remove Duplicates from Sorted List II Medium
  9. Slow Fast Pointers Learn the pattern →
  10. Middle of the Linked List Easy
  11. Linked List Cycle Easy
  12. Linked List Cycle II Medium
  13. Front Back Pointer Learn the pattern →
  14. Remove Nth Node From End of List Medium
  15. Front Middle Back Pointer Learn the pattern →
  16. Reverse Linked List Easy
  17. Reverse Linked List II Medium
  18. Reverse Nodes in k-Group Hard
  19. Palindrome Linked List Easy
  20. Miscellaneous Learn the pattern →
  21. Delete Node in a Linked List Medium
  22. Copy List with Random Pointer Medium
  23. Intersection of Two Linked Lists Easy
  24. Partition List Medium
  25. Sort List Medium
Binary Search25
  1. Basics Learn the pattern →
  2. Fundamentals Easy
  3. Binary Search Easy
  4. Bisect Learn the pattern →
  5. bisect_left, bisect_right Easy
  6. Search Insert Position Easy
  7. Floor in a Sorted Array Easy
  8. Ceil in a Sorted Array Easy
  9. Find First and Last Position of Element in Sorted Array Medium
  10. Number of occurrence Easy
  11. Unique 1-D Binary Search Learn the pattern →
  12. First Bad Version Easy
  13. Single Element in a Sorted Array Medium
  14. Find Peak Element Medium
  15. Rotated Array Learn the pattern →
  16. Find How Many Times Array is Rotated Easy
  17. Find Minimum in Rotated Sorted Array Medium
  18. Find Minimum in Rotated Sorted Array II Hard
  19. Search in Rotated Sorted Array Medium
  20. Search in Rotated Sorted Array II Medium
  21. 2D Binary Search + Step Search Learn the pattern →
  22. Row with max 1s Medium
  23. Search a 2D Matrix Medium
  24. Search a 2D Matrix II (Young Tableau) Medium
  25. Search on Answer Range Learn the pattern →
  26. Pow(x, n) (Binary Exponentiation) Medium
  27. Find Nth root of M Easy
  28. Sqrt(x) Easy
  29. Find position of an element in a sorted array of infinite numbers (Galloping Search) Medium
  30. Binary Search on Answer Space Learn the pattern →
  31. Koko Eating Bananas Medium
  32. Minimum Number of Days to Make m Bouquets Medium
Recursion & Backtracking17
  1. Basic Recursion Learn the pattern →
  2. Factorial of a number Easy
  3. Fibonacci Number Easy
  4. Binary Tree Inorder Traversal (Recursive) Easy
  5. Basic Backtracking Template Medium
  6. Binary Tree Paths Easy
  7. 2D Matrix Learn the pattern →
  8. N-Queens Hard
  9. Pick / Not-Pick Learn the pattern →
  10. Generate all binary strings without consecutive 1's Medium
  11. Subsets (2 choices per element) Medium
  12. Subsets II Medium
  13. Combinations Medium
  14. Combination Sum (repeating elements) Medium
  15. Combination Sum II Medium
  16. Combination Sum III Medium
  17. Permutations Learn the pattern →
  18. Permutations - Swap Trick Medium
  19. Permutations Medium
  20. Permutations II Medium
  21. 2D Matrix Backtracking Learn the pattern →
  22. Word Search Medium
Trees & BST43
  1. Recursion Learn the pattern →
  2. Binary Tree Inorder Traversal (Recursive) Easy
  3. Binary Tree Preorder Traversal (Recursive) Easy
  4. Binary Tree Postorder Traversal (Recursive) Easy
  5. Binary Tree Inorder Traversal (Iterative) Easy
  6. Binary Tree Preorder Traversal (Iterative) Easy
  7. Binary Tree Postorder Traversal (Iterative) Easy
  8. Maximum Depth of Binary Tree Easy
  9. Same Tree Easy
  10. Symmetric Tree Easy
  11. Invert Binary Tree Easy
  12. Backtracking Learn the pattern →
  13. Root to Leaf Paths Medium
  14. Traversals Learn the pattern →
  15. Binary Tree Level Order Traversal Medium
  16. Binary Tree Zigzag Level Order Traversal Medium
  17. Binary Tree Level Order Traversal II Medium
  18. Views Learn the pattern →
  19. Top View of Binary Tree Medium
  20. Bottom View of Binary Tree Medium
  21. Left View of Binary Tree Easy
  22. Binary Tree Right Side View Medium
  23. BST Basics Learn the pattern →
  24. Search in a Binary Search Tree Easy
  25. Minimum element in BST Easy
  26. Insert into a Binary Search Tree Medium
  27. Postorder + Multiple Return Values Learn the pattern →
  28. Balanced Binary Tree Easy
  29. Validate Binary Search Tree Medium
  30. Children Sum in a Binary Tree Easy
  31. Largest BST Medium
  32. LCA Learn the pattern →
  33. Lowest Common Ancestor of a Binary Tree Medium
  34. Lowest Common Ancestor of a Binary Search Tree Medium
  35. Child + Ancestor Handling Learn the pattern →
  36. Amount of Time for Binary Tree to Be Infected Medium
  37. Burning Tree Hard
  38. All Nodes Distance K in Binary Tree Medium
  39. Reverse Inorder Traversal Learn the pattern →
  40. Kth Smallest Element in a BST Medium
  41. Kth Largest Element in BST Easy
  42. Tree Serialization / Deserialization Learn the pattern →
  43. Construct Binary Tree from Preorder and Inorder Traversal Medium
  44. Construct Binary Tree from Inorder and Postorder Traversal Medium
  45. Construct Binary Search Tree from Preorder Traversal Medium
  46. Serialize and Deserialize Binary Tree Hard
  47. Tree to Lists and vice-versa Learn the pattern →
  48. Binary Tree to DLL Hard
  49. Flatten Binary Tree to Linked List Medium
  50. Miscellaneous BST Questions Learn the pattern →
  51. Inorder Successor in BST Medium
  52. Inorder predecessor Medium
  53. Floor in BST Easy
  54. Ceil in BST Easy
  55. Two Sum IV - Input is a BST Easy
Heaps6
  1. Top K / Kth Largest / Smallest Learn the pattern →
  2. Kth Largest Element in an Array Medium
  3. Kth Largest Element in a Stream Easy
  4. Composite comparator Learn the pattern →
  5. Top K Frequent Elements Medium
  6. Merge K Sorted Learn the pattern →
  7. Merge k Sorted Lists Hard
  8. Merge k Sorted Arrays Medium
  9. Advanced Learn the pattern →
  10. Find K Pairs with Smallest Sums Medium
Intervals9
  1. Basics Learn the pattern →
  2. Detect overlap unsorted Easy
  3. Detect overlap sorted intervals Easy
  4. Interval List Intersections Medium
  5. Meeting Rooms Easy
  6. Merge two unsorted intervals Easy
  7. Merge two sorted intervals Easy
  8. Merge Intervals Medium
  9. Line Sweep Learn the pattern →
  10. Meeting Rooms II Medium
  11. Car Pooling Medium
Tries2
  1. Basics Learn the pattern →
  2. Implement Trie (Prefix Tree) Medium
  3. Implement Trie ll Medium
Graphs18
  1. BFS / DFS Basics Learn the pattern →
  2. BFS - Normal + Level by Level Easy
  3. DFS - Recursive + Iterative Easy
  4. Matrix Graphs Learn the pattern →
  5. Flood Fill Easy
  6. Connected Components Learn the pattern →
  7. Number of Provinces Medium
  8. Number of Islands Medium
  9. BFS for shortest path Learn the pattern →
  10. Shortest Path in Binary Matrix Medium
  11. DFS - Complement Trick Learn the pattern →
  12. Surrounded Regions Medium
  13. Multi source BFS Learn the pattern →
  14. Rotting Oranges Medium
  15. 01 Matrix Medium
  16. Cycle Detection Learn the pattern →
  17. Undirected Graph Cycle Medium
  18. Directed Graph Cycle Medium
  19. Is Graph Bipartite? Medium
  20. Topological Sort Learn the pattern →
  21. Topological sort using BFS Medium
  22. Course Schedule Medium
  23. Course Schedule II Medium
  24. Alien Dictionary Hard
  25. Dijkstra Learn the pattern →
  26. Network Delay Time Medium
  27. Find the City With the Smallest Number of Neighbors at a Threshold Distance Medium
Dynamic Programming34
  1. 1D DP Learn the pattern →
  2. Fibonacci Number Easy
  3. Climbing Stairs Easy
  4. Min Cost Climbing Stairs (2 jumps) Easy
  5. Minimal Cost (k jumps) Medium
  6. Decode Ways Medium
  7. Word Break Medium
  8. Alternate Selection / Pick / Not pick Learn the pattern →
  9. House Robber Medium
  10. House Robber II Medium
  11. 2D DP Learn the pattern →
  12. Minimum Path Sum Medium
  13. Unique Paths Medium
  14. Unique Paths II Medium
  15. 2D DP - max/min of last row Learn the pattern →
  16. Minimum Falling Path Sum Medium
  17. Triangle Medium
  18. Geek's Training Medium
  19. Squares Learn the pattern →
  20. Maximal Square Medium
  21. Count Square Submatrices with All Ones Medium
  22. Largest 1-Bordered Square Medium
  23. State Machine DP - Stock Problems Learn the pattern →
  24. Best Time to Buy and Sell Stock Easy
  25. Best Time to Buy and Sell Stock II Medium
  26. Best Time to Buy and Sell Stock with Transaction Fee Medium
  27. Best Time to Buy and Sell Stock with Cooldown Medium
  28. Best Time to Buy and Sell Stock III Hard
  29. Knapsack Learn the pattern →
  30. 0 - 1 Knapsack Problem Medium
  31. Fractional Knapsack Medium
  32. Knapsack with Duplicate Items Medium
  33. Coin Change Medium
  34. Coin Change II Medium
  35. Strings Learn the pattern →
  36. Edit Distance Medium
  37. Longest Common Subsequence Medium
  38. Longest Palindromic Subsequence Medium
  39. Minimum Insertion Steps to Make a String Palindrome Hard
  40. Longest Common Substring Medium
  41. Interval DP Learn the pattern →
  42. Matrix Chain Multiplication Hard
  43. Burst Balloons Hard
Bit Manipulation12
  1. Basics Learn the pattern →
  2. Decimal to binary Easy
  3. Convert Binary Number in a Linked List to Integer Easy
  4. K-th Bit is Set or Not Easy
  5. Odd or Even Easy
  6. Tricks to remember Learn the pattern →
  7. Number of 1 Bits Easy
  8. Set the rightmost unset bit Easy
  9. XOR of 1 to n Numbers Easy
  10. XOR Basics Learn the pattern →
  11. Swap two numbers Easy
  12. Hamming Distance Easy
  13. Missing / Repeated Numbers Learn the pattern →
  14. Single Number Easy
  15. Missing Number Easy
  16. Two numbers with odd occurrences Medium
Design Data Structures6
  1. Pre-processing + tradeoffs Learn the pattern →
  2. Design Neighbor Sum Service Easy
  3. Linked Lists Learn the pattern →
  4. Design Linked List Medium
  5. Design Front Middle Back Queue Medium
  6. Stack Learn the pattern →
  7. Min Stack Medium
  8. Design a Stack With Increment Operation Medium
  9. Maximum Frequency Stack Hard
2

Advanced DSA: most reported mediums and hards

362 problems outside the core sheet that candidates report at three or more companies, from LRU cache to median of two sorted arrays.

362 items · about 362 hours

Arrays & Hashing113
  1. Two Sum Learn the pattern →
  2. Pairs of Songs With Total Durations Divisible by 60 Medium · 6 companies
  3. Count Good Meals Medium · 3 companies
  4. Kadane's Algorithm Learn the pattern →
  5. Gas Station Medium · 27 companies
  6. Maximum Product Subarray Medium · 20 companies
  7. Maximum Sum Circular Subarray Medium · 11 companies
  8. Best Sightseeing Pair Medium · 3 companies
  9. Two Pointer Learn the pattern →
  10. Trapping Rain Water Hard · 92 companies
  11. Container With Most Water Medium · 63 companies
  12. String Compression Medium · 38 companies
  13. 4Sum Medium · 13 companies
  14. Remove Duplicates from Sorted Array II Medium · 8 companies
  15. Longest Mountain in Array Medium · 8 companies
  16. Break a Palindrome Medium · 6 companies
  17. Rotating the Box Medium · 6 companies
  18. Boats to Save People Medium · 6 companies
  19. Maximize Distance to Closest Person Medium · 4 companies
  20. Sort Transformed Array Medium · 4 companies
  21. One Edit Distance Medium · 4 companies
  22. Divide Players Into Teams of Equal Skill Medium · 3 companies
  23. Right to Left Traversal Learn the pattern →
  24. Next Permutation Medium · 35 companies
  25. Multiply Strings Medium · 13 companies
  26. Maximum Swap Medium · 6 companies
  27. Buildings With an Ocean View Medium · 6 companies
  28. Next Greater Element III Medium · 6 companies
  29. In-place Transformations Learn the pattern →
  30. Rotate Image Medium · 42 companies
  31. First Missing Positive Hard · 38 companies
  32. Game of Life Medium · 10 companies
  33. Merge Sort Like Approach Learn the pattern →
  34. Sort an Array Medium · 31 companies
  35. Reverse Pairs Hard · 4 companies
  36. Prefix Sum Strategy Learn the pattern →
  37. Contiguous Array Medium · 13 companies
  38. Ways to Make a Fair Array Medium · 7 companies
  39. Maximum Size Subarray Sum Equals k Medium · 6 companies
  40. Continuous Subarray Sum Medium · 5 companies
  41. Subarray Sums Divisible by K Medium · 4 companies
  42. Friends Of Appropriate Ages Medium · 4 companies
  43. Count Vowel Strings in Ranges Medium · 4 companies
  44. Sliding Window · Fixed Learn the pattern →
  45. Permutation in String Medium · 14 companies
  46. Find All Anagrams in a String Medium · 9 companies
  47. Maximum Points You Can Obtain from Cards Medium · 6 companies
  48. Alert Using Same Key-Card Three or More Times in a One Hour Period Medium · 4 companies
  49. Repeated DNA Sequences Medium · 3 companies
  50. Sliding Window · Variable Learn the pattern →
  51. Longest Substring Without Repeating Characters Medium · 118 companies
  52. Max Consecutive Ones III Medium · 20 companies
  53. Longest Repeating Character Replacement Medium · 17 companies
  54. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit Medium · 10 companies
  55. Fruit Into Baskets Medium · 9 companies
  56. Maximum Number of Visible Points Hard · 5 companies
  57. Longest Subarray of 1's After Deleting One Element Medium · 5 companies
  58. Frequency of the Most Frequent Element Medium · 5 companies
  59. Count Subarrays With Fixed Bounds Hard · 4 companies
  60. Count Number of Nice Subarrays Medium · 3 companies
  61. Sliding Window · Hash Map Learn the pattern →
  62. Subarrays with K Different Integers Hard · 14 companies
  63. Longest Substring with At Most K Distinct Characters Medium · 7 companies
  64. Maximum Number of Occurrences of a Substring Medium · 5 companies
  65. Count Zero Request Servers Medium · 4 companies
  66. Contains Duplicate III Hard · 3 companies
  67. Hashing Learn the pattern →
  68. Group Anagrams Medium · 86 companies
  69. Minimum Number of Steps to Make Two Strings Anagram Medium · 11 companies
  70. Valid Sudoku Medium · 10 companies
  71. Max Points on a Line Hard · 8 companies
  72. Subdomain Visit Count Medium · 7 companies
  73. K-diff Pairs in an Array Medium · 6 companies
  74. Number of Black Blocks Medium · 6 companies
  75. Number of Divisible Triplet Sums Medium · 5 companies
  76. Invalid Transactions Medium · 5 companies
  77. Custom Sort String Medium · 5 companies
  78. Palindrome Pairs Hard · 4 companies
  79. Group Shifted Strings Medium · 4 companies
  80. Shortest Uncommon Substring in an Array Medium · 3 companies
  81. Number of Matching Subsequences Medium · 3 companies
  82. Task Scheduler II Medium · 3 companies
  83. Matrix Traversal Learn the pattern →
  84. Spiral Matrix Medium · 56 companies
  85. Diagonal Traverse Medium · 12 companies
  86. Best Meeting Point Hard · 5 companies
  87. Sparse Matrix Multiplication Medium · 4 companies
  88. Elimination Recurrence Learn the pattern →
  89. Find the Winner of the Circular Game Medium · 7 companies
  90. Greedy Learn the pattern →
  91. Jump Game Medium · 32 companies
  92. Jump Game II Medium · 29 companies
  93. Integer to Roman Medium · 25 companies
  94. Task Scheduler Medium · 22 companies
  95. Reorganize String Medium · 15 companies
  96. Largest Number Medium · 13 companies
  97. Candy Hard · 11 companies
  98. Minimum Number of Taps to Open to Water a Garden Hard · 10 companies
  99. Two City Scheduling Medium · 8 companies
  100. Guess the Word Hard · 5 companies
  101. Maximum Palindromes After Operations Medium · 5 companies
  102. Maximize Greatness of an Array Medium · 3 companies
  103. Make Lexicographically Smallest Array by Swapping Elements Medium · 3 companies
  104. Advantage Shuffle Medium · 3 companies
  105. Hash Set Lookup Learn the pattern →
  106. Longest Consecutive Sequence Medium · 38 companies
  107. Line Reflection Medium · 5 companies
  108. Simulation Learn the pattern →
  109. Text Justification Hard · 32 companies
  110. Integer to English Words Hard · 21 companies
  111. String to Integer (atoi) Medium · 21 companies
  112. Validate IP Address Medium · 18 companies
  113. Candy Crush Medium · 7 companies
  114. Count and Say Medium · 7 companies
  115. Zigzag Conversion Medium · 7 companies
  116. Valid Number Hard · 5 companies
  117. Robot Bounded In Circle Medium · 4 companies
  118. String Matching (KMP) Learn the pattern →
  119. Shortest Palindrome Hard · 4 companies
  120. Math / Number Theory Learn the pattern →
  121. Count Primes Medium · 23 companies
  122. Reverse Integer Medium · 19 companies
  123. Reaching Points Hard · 11 companies
  124. Angle Between Hands of a Clock Medium · 9 companies
  125. Water and Jug Problem Medium · 7 companies
  126. Consecutive Numbers Sum Hard · 6 companies
  127. Bulb Switcher Medium · 4 companies
  128. Candidate Generation Learn the pattern →
  129. Minimize Result by Adding Parentheses to Expression Medium · 4 companies
  130. String Basics Learn the pattern →
  131. Encode and Decode Strings Medium · 6 companies
  132. Compare Version Numbers Medium · 4 companies
  133. Sorting Learn the pattern →
  134. Minimum Time Difference Medium · 3 companies
Stack13
  1. Stack Basics Learn the pattern →
  2. Decode String Medium · 35 companies
  3. Basic Calculator II Medium · 22 companies
  4. Simplify Path Medium · 15 companies
  5. Remove All Adjacent Duplicates in String II Medium · 14 companies
  6. Basic Calculator III Hard · 9 companies
  7. Minimum Remove to Make Valid Parentheses Medium · 8 companies
  8. Valid Parenthesis String Medium · 8 companies
  9. Remove All Occurrences of a Substring Medium · 7 companies
  10. Minimum Number of Swaps to Make the String Balanced Medium · 5 companies
  11. Exclusive Time of Functions Medium · 5 companies
  12. Basic Calculator IV Hard · 4 companies
  13. Maximum Score From Removing Substrings Medium · 3 companies
  14. Minimum Add to Make Parentheses Valid Medium · 3 companies
Monotonic Stack10
  1. Monotonic Stack Learn the pattern →
  2. Sliding Window Maximum Hard · 55 companies
  3. Remove K Digits Medium · 11 companies
  4. Maximal Rectangle Hard · 11 companies
  5. Online Stock Span Medium · 9 companies
  6. Remove Duplicate Letters Medium · 7 companies
  7. Number of Visible People in a Queue Hard · 7 companies
  8. Using a Robot to Print the Lexicographically Smallest String Medium · 6 companies
  9. Car Fleet Medium · 6 companies
  10. Shortest Subarray with Sum at Least K Hard · 4 companies
  11. Poisonous Plants Hard · 3 companies
Linked List5
  1. Dummy Node Pattern Learn the pattern →
  2. Add Two Numbers Medium · 37 companies
  3. Slow Fast Pointers Learn the pattern →
  4. Find the Duplicate Number Medium · 13 companies
  5. Reorder List Medium · 8 companies
  6. Miscellaneous Learn the pattern →
  7. Odd Even Linked List Medium · 6 companies
  8. Merge In Between Linked Lists Medium · 5 companies
Binary Search18
  1. Basics Learn the pattern →
  2. Time Based Key-Value Store Medium · 29 companies
  3. Random Pick with Weight Medium · 22 companies
  4. Snapshot Array Medium · 13 companies
  5. Bisect Learn the pattern →
  6. Find K Closest Elements Medium · 11 companies
  7. Heaters Medium · 6 companies
  8. 2D Binary Search + Step Search Learn the pattern →
  9. Leftmost Column with at Least a One Medium · 4 companies
  10. Binary Search on Answer Space Learn the pattern →
  11. Split Array Largest Sum Hard · 20 companies
  12. Capacity To Ship Packages Within D Days Medium · 11 companies
  13. Kth Smallest Element in a Sorted Matrix Medium · 8 companies
  14. Minimum Limit of Balls in a Bag Medium · 6 companies
  15. Sell Diminishing-Valued Colored Balls Medium · 5 companies
  16. Find the Smallest Divisor Given a Threshold Medium · 5 companies
  17. House Robber IV Medium · 4 companies
  18. Magnetic Force Between Two Balls Medium · 4 companies
  19. Reach a Number Medium · 3 companies
  20. Minimize Max Distance to Gas Station Hard · 3 companies
  21. Cutting Ribbons Medium · 3 companies
  22. Binary Search on Partition Learn the pattern →
  23. Median of Two Sorted Arrays Hard · 53 companies
Recursion & Backtracking20
  1. Basic Recursion Learn the pattern →
  2. Nested List Weight Sum Medium · 5 companies
  3. Tower of Hanoi Medium · 5 companies
  4. Nested List Weight Sum II Medium · 3 companies
  5. Pick / Not-Pick Learn the pattern →
  6. Generate Parentheses Medium · 32 companies
  7. Remove Invalid Parentheses Hard · 5 companies
  8. Maximum Length of a Concatenated String with Unique Characters Medium · 4 companies
  9. Matchsticks to Square Medium · 3 companies
  10. 2D Matrix Backtracking Learn the pattern →
  11. Sudoku Solver Hard · 16 companies
  12. Rat in a Maze Medium · 5 companies
  13. N-Queens II Hard · 3 companies
  14. Robot Room Cleaner Hard · 3 companies
  15. Choice per Position Learn the pattern →
  16. Letter Combinations of a Phone Number Medium · 29 companies
  17. Word Break II Hard · 16 companies
  18. Restore IP Addresses Medium · 12 companies
  19. Palindrome Partitioning Medium · 7 companies
  20. Word Pattern II Medium · 5 companies
  21. Brace Expansion Medium · 3 companies
  22. Divide and Conquer Learn the pattern →
  23. Special Binary String Hard · 7 companies
  24. Construct Quad Tree Medium · 5 companies
  25. Meet in the Middle Learn the pattern →
  26. Partition Array Into Two Arrays to Minimize Sum Difference Hard · 5 companies
Trees & BST22
  1. Recursion Learn the pattern →
  2. Sum Root to Leaf Numbers Medium · 3 companies
  3. Backtracking Learn the pattern →
  4. Path Sum III Medium · 8 companies
  5. Path Sum II Medium · 7 companies
  6. Traversals Learn the pattern →
  7. Populating Next Right Pointers in Each Node Medium · 7 companies
  8. Check Completeness of a Binary Tree Medium · 5 companies
  9. Views Learn the pattern →
  10. Vertical Order Traversal of a Binary Tree Hard · 19 companies
  11. Boundary of Binary Tree Medium · 14 companies
  12. Binary Tree Vertical Order Traversal Medium · 8 companies
  13. BST Basics Learn the pattern →
  14. Binary Search Tree Iterator Medium · 9 companies
  15. Delete Node in a BST Medium · 7 companies
  16. Recover Binary Search Tree Medium · 6 companies
  17. Trim a Binary Search Tree Medium · 5 companies
  18. Postorder + Multiple Return Values Learn the pattern →
  19. Binary Tree Maximum Path Sum Hard · 33 companies
  20. Binary Tree Cameras Hard · 9 companies
  21. House Robber III Medium · 7 companies
  22. Delete Nodes And Return Forest Medium · 5 companies
  23. Find Leaves of Binary Tree Medium · 5 companies
  24. Distribute Coins in Binary Tree Medium · 4 companies
  25. LCA Learn the pattern →
  26. Lowest Common Ancestor of a Binary Tree III Medium · 6 companies
  27. Step-By-Step Directions From a Binary Tree Node to Another Medium · 3 companies
  28. Child + Ancestor Handling Learn the pattern →
  29. Count Good Nodes in Binary Tree Medium · 4 companies
  30. Tree to Lists and vice-versa Learn the pattern →
  31. Convert Sorted List to Binary Search Tree Medium · 6 companies
Heaps21
  1. Top K / Kth Largest / Smallest Learn the pattern →
  2. Top K Frequent Words Medium · 21 companies
  3. K Closest Points to Origin Medium · 16 companies
  4. Minimum Cost to Connect Sticks Medium · 12 companies
  5. Sort Characters By Frequency Medium · 10 companies
  6. Furthest Building You Can Reach Medium · 9 companies
  7. Least Number of Unique Integers after K Removals Medium · 5 companies
  8. Remove Stones to Minimize the Total Medium · 4 companies
  9. Composite comparator Learn the pattern →
  10. Rank Teams by Votes Medium · 7 companies
  11. Single-Threaded CPU Medium · 3 companies
  12. Merge K Sorted Learn the pattern →
  13. Design Twitter Medium · 9 companies
  14. Smallest Range Covering Elements from K Lists Hard · 6 companies
  15. Advanced Learn the pattern →
  16. Find Median from Data Stream Hard · 51 companies
  17. Trapping Rain Water II Hard · 9 companies
  18. Sliding Window Median Hard · 9 companies
  19. The Skyline Problem Hard · 7 companies
  20. Maximum Number of Events That Can Be Attended Medium · 7 companies
  21. Zero Array Transformation III Medium · 5 companies
  22. Minimum Number of Refueling Stops Hard · 5 companies
  23. Number of Orders in the Backlog Medium · 4 companies
  24. Longest Happy String Medium · 3 companies
  25. Stock Price Fluctuation Medium · 3 companies
Intervals13
  1. Basics Learn the pattern →
  2. Insert Interval Medium · 10 companies
  3. Minimum Number of Arrows to Burst Balloons Medium · 7 companies
  4. Non-overlapping Intervals Medium · 7 companies
  5. Two Best Non-Overlapping Events Medium · 5 companies
  6. Partition Labels Medium · 4 companies
  7. My Calendar I Medium · 4 companies
  8. Line Sweep Learn the pattern →
  9. Employee Free Time Hard · 9 companies
  10. Minimum Platforms Medium · 6 companies
  11. Number of Flowers in Full Bloom Hard · 4 companies
  12. Meeting Rooms III Hard · 4 companies
  13. Brightest Position on Street Medium · 4 companies
  14. Rectangle Area II Hard · 3 companies
  15. Segment Tree Learn the pattern →
  16. Block Placement Queries Hard · 7 companies
Tries6
  1. Basics Learn the pattern →
  2. Design In-Memory File System Hard · 15 companies
  3. Search Suggestions System Medium · 9 companies
  4. Design Search Autocomplete System Hard · 9 companies
  5. Find the Length of the Longest Common Prefix Medium · 7 companies
  6. Design Add and Search Words Data Structure Medium · 6 companies
  7. Trie + Backtracking Learn the pattern →
  8. Word Search II Hard · 16 companies
Graphs52
  1. BFS / DFS Basics Learn the pattern →
  2. Clone Graph Medium · 15 companies
  3. Critical Connections in a Network Hard · 6 companies
  4. Web Crawler Multithreaded Medium · 5 companies
  5. Keys and Rooms Medium · 5 companies
  6. Web Crawler Medium · 4 companies
  7. Employee Importance Medium · 3 companies
  8. All Paths From Source to Target Medium · 3 companies
  9. Matrix Graphs Learn the pattern →
  10. Max Area of Island Medium · 14 companies
  11. Number of Distinct Islands Medium · 9 companies
  12. Minesweeper Medium · 5 companies
  13. The Maze Medium · 3 companies
  14. Number of Closed Islands Medium · 3 companies
  15. Connected Components Learn the pattern →
  16. Evaluate Division Medium · 21 companies
  17. Accounts Merge Medium · 16 companies
  18. Making A Large Island Hard · 13 companies
  19. Number of Islands II Hard · 10 companies
  20. Minimize Malware Spread Hard · 7 companies
  21. The Earliest Moment When Everyone Become Friends Medium · 7 companies
  22. Most Stones Removed with Same Row or Column Medium · 5 companies
  23. Smallest String With Swaps Medium · 5 companies
  24. Number of Operations to Make Network Connected Medium · 4 companies
  25. Satisfiability of Equality Equations Medium · 3 companies
  26. BFS for shortest path Learn the pattern →
  27. Word Ladder Hard · 43 companies
  28. Minimum Knight Moves Medium · 13 companies
  29. Word Ladder II Hard · 12 companies
  30. Bus Routes Hard · 11 companies
  31. Open the Lock Medium · 11 companies
  32. Shortest Path in a Grid with Obstacles Elimination Hard · 10 companies
  33. Snakes and Ladders Medium · 8 companies
  34. Zuma Game Hard · 4 companies
  35. Shortest Path to Get All Keys Hard · 4 companies
  36. Multi source BFS Learn the pattern →
  37. Shortest Distance from All Buildings Hard · 7 companies
  38. Walls and Gates Medium · 7 companies
  39. Pacific Atlantic Water Flow Medium · 7 companies
  40. Shortest Bridge Medium · 6 companies
  41. Find the Safest Path in a Grid Medium · 3 companies
  42. Cycle Detection Learn the pattern →
  43. Redundant Connection Medium · 4 companies
  44. Possible Bipartition Medium · 4 companies
  45. Topological Sort Learn the pattern →
  46. Longest Increasing Path in a Matrix Hard · 13 companies
  47. Parallel Courses III Hard · 8 companies
  48. Find All Possible Recipes from Given Supplies Medium · 5 companies
  49. Collect Coins in a Tree Hard · 5 companies
  50. Maximum Employees to Be Invited to a Meeting Hard · 3 companies
  51. Dijkstra Learn the pattern →
  52. Cheapest Flights Within K Stops Medium · 17 companies
  53. Path With Minimum Effort Medium · 5 companies
  54. Minimum Time to Visit a Cell In a Grid Hard · 5 companies
  55. Swim in Rising Water Hard · 4 companies
  56. Eulerian Path (Hierholzer) Learn the pattern →
  57. Reconstruct Itinerary Hard · 20 companies
  58. Candidate Elimination Learn the pattern →
  59. Find the Celebrity Medium · 11 companies
  60. Re-rooting DP Learn the pattern →
  61. Minimum Edge Reversals So Every Node Is Reachable Hard · 8 companies
  62. Sum of Distances in Tree Hard · 3 companies
  63. Minimum Spanning Tree Learn the pattern →
  64. Min Cost to Connect All Points Medium · 3 companies
Dynamic Programming35
  1. 1D DP Learn the pattern →
  2. Longest Increasing Subsequence Medium · 33 companies
  3. Maximum Profit in Job Scheduling Hard · 19 companies
  4. Russian Doll Envelopes Hard · 9 companies
  5. Longest String Chain Medium · 9 companies
  6. Delete and Earn Medium · 8 companies
  7. Minimum Cost For Tickets Medium · 7 companies
  8. Frog Jump Hard · 7 companies
  9. Paint House Medium · 4 companies
  10. Time Needed to Rearrange a Binary String Medium · 4 companies
  11. Maximum Earnings From Taxi Medium · 3 companies
  12. Race Car Hard · 3 companies
  13. 2D DP Learn the pattern →
  14. Cherry Pickup Hard · 9 companies
  15. Dungeon Game Hard · 9 companies
  16. Minimum Difficulty of a Job Schedule Hard · 4 companies
  17. Cherry Pickup II Hard · 3 companies
  18. State Machine DP - Stock Problems Learn the pattern →
  19. Best Time to Buy and Sell Stock IV Hard · 7 companies
  20. Knapsack Learn the pattern →
  21. Partition Equal Subset Sum Medium · 10 companies
  22. Perfect Squares Medium · 7 companies
  23. Target Sum Medium · 6 companies
  24. Painting the Walls Hard · 3 companies
  25. Split Array With Same Average Hard · 3 companies
  26. Strings Learn the pattern →
  27. Longest Palindromic Substring Medium · 72 companies
  28. Regular Expression Matching Hard · 21 companies
  29. Longest Valid Parentheses Hard · 19 companies
  30. Palindromic Substrings Medium · 19 companies
  31. Wildcard Matching Hard · 15 companies
  32. Distinct Subsequences Hard · 9 companies
  33. Maximum Length of Repeated Subarray Medium · 5 companies
  34. Interleaving String Medium · 3 companies
  35. Palindrome Partitioning II Hard · 3 companies
  36. Number of Ways to Form a Target String Given a Dictionary Hard · 3 companies
  37. Interval DP Learn the pattern →
  38. Predict the Winner Medium · 8 companies
  39. Remove Boxes Hard · 5 companies
  40. Strange Printer Hard · 3 companies
  41. Bitmask DP Learn the pattern →
  42. Optimal Account Balancing Hard · 10 companies
Bit Manipulation4
  1. Basics Learn the pattern →
  2. Sum of Two Integers Medium · 5 companies
  3. UTF-8 Validation Medium · 3 companies
  4. Tricks to remember Learn the pattern →
  5. IP to CIDR Medium · 7 companies
  6. Minimum Operations to Reduce an Integer to 0 Medium · 3 companies
Design Data Structures30
  1. Pre-processing + tradeoffs Learn the pattern →
  2. Simple Bank System Medium · 12 companies
  3. Design Tic-Tac-Toe Medium · 11 companies
  4. Dot Product of Two Sparse Vectors Medium · 9 companies
  5. Shortest Word Distance II Medium · 8 companies
  6. Design A Leaderboard Medium · 6 companies
  7. Design File System Medium · 6 companies
  8. Range Module Hard · 3 companies
  9. Flatten 2D Vector Medium · 3 companies
  10. Design Log Storage System Medium · 3 companies
  11. Range Sum Query - Mutable Medium · 3 companies
  12. Linked Lists Learn the pattern →
  13. LRU Cache Medium · 144 companies
  14. LFU Cache Hard · 41 companies
  15. All O`one Data Structure Hard · 7 companies
  16. Stack Learn the pattern →
  17. Max Stack Hard · 12 companies
  18. Flatten Nested List Iterator Medium · 11 companies
  19. Design a Text Editor Hard · 6 companies
  20. Design Browser History Medium · 3 companies
  21. Queue / Circular Buffer Learn the pattern →
  22. Design Hit Counter Medium · 25 companies
  23. Design Circular Queue Medium · 21 companies
  24. Design Snake Game Medium · 7 companies
  25. First Unique Number Medium · 3 companies
  26. Hash Map + Array Learn the pattern →
  27. Insert Delete GetRandom O(1) Medium · 54 companies
  28. Insert Delete GetRandom O(1) - Duplicates allowed Hard · 5 companies
  29. Hash Map + Heap Learn the pattern →
  30. Design Authentication Manager Medium · 5 companies
  31. Cache With Time Limit Medium · 3 companies
  32. Randomized Algorithms Learn the pattern →
  33. Shuffle an Array Medium · 8 companies
  34. Design Skiplist Hard · 5 companies
  35. Dependency Graph Learn the pattern →
  36. Design Excel Sum Formula Hard · 6 companies
  37. Concurrency Learn the pattern →
  38. Design Bounded Blocking Queue Medium · 5 companies
  39. Simulation Learn the pattern →
  40. Design Memory Allocator Medium · 11 companies
3

System design, all of it

Senior loops are decided in the design round. Concepts first, then the technologies and building blocks, then every design problem and the deep dives.

138 items · about 55 hours

Concepts41
  1. The web, end to end Concept 1
  2. DNS Concept 2
  3. HTTP vs HTTPS Concept 3
  4. Servers Concept 4
  5. Load balancers Concept 5
  6. Reverse proxies Concept 6
  7. Nginx Concept 7
  8. API design Concept 8
  9. Real-time Concept 9
  10. Latency and numbers Concept 10
  11. Caching Concept 11
  12. CDN Concept 12
  13. Monolith vs microservices Concept 13
  14. Service communication Concept 14
  15. Stateless vs stateful Concept 15
  16. SQL vs NoSQL Concept 16
  17. Indexes Concept 17
  18. Transactions Concept 18
  19. Schema design Concept 19
  20. Replication Concept 20
  21. Sharding Concept 21
  22. Consistent hashing Concept 22
  23. Storage engines Concept 23
  24. Database types Concept 24
  25. CAP theorem Concept 25
  26. Consistency models Concept 26
  27. Quorums Concept 27
  28. Message queues Concept 28
  29. Idempotency Concept 29
  30. Rate limiting Concept 30
  31. Distributed locks Concept 31
  32. Clocks and IDs Concept 32
  33. Distributed transactions Concept 33
  34. Consensus Concept 34
  35. Availability Concept 35
  36. Estimation Concept 36
  37. Observability Concept 37
  38. Security basics Concept 38
  39. Deploying and scaling Concept 39
  40. Failure handling Concept 40
  41. Batch vs stream Concept 41
Technologies12
  1. PostgreSQL Technology 1
  2. MySQL Technology 2
  3. MongoDB Technology 3
  4. Cassandra Technology 4
  5. DynamoDB Technology 5
  6. Redis Technology 6
  7. Kafka Technology 7
  8. Elasticsearch Technology 8
  9. ZooKeeper and etcd Technology 9
  10. Object storage Technology 10
  11. Column stores Technology 11
  12. Which database? Technology 12
Building blocks14
  1. Load balancer Building block 1
  2. API gateway Building block 2
  3. Cache Building block 3
  4. CDN Building block 4
  5. Relational DB at scale Building block 5
  6. Key-value store Building block 6
  7. Object storage Building block 7
  8. Message queue Building block 8
  9. Pub-sub and fan-out Building block 9
  10. Search index Building block 10
  11. Rate limiter Building block 11
  12. Unique ID generator Building block 12
  13. Job scheduler Building block 13
  14. Monitoring and alerting Building block 14
Patterns7
  1. Real-time updates Pattern 1
  2. Scaling reads Pattern 2
  3. Scaling writes Pattern 3
  4. Contention Pattern 4
  5. Multi-step processes Pattern 5
  6. Large blobs Pattern 6
  7. Long-running tasks Pattern 7
How to answer1
  1. The LADDER method for design questions Method
Design problems57
  1. URL shortener Design problem 1
  2. Pastebin Design problem 2
  3. Rate limiter Design problem 3
  4. Unique ID generator Design problem 4
  5. WhatsApp Design problem 5
  6. Live comments Design problem 6
  7. Slack Design problem 7
  8. Google Docs Design problem 8
  9. Zoom Design problem 9
  10. Instagram Design problem 10
  11. News Feed Design problem 11
  12. Twitter / X Design problem 12
  13. TikTok Design problem 13
  14. Reddit Design problem 14
  15. Google Drive Design problem 15
  16. YouTube Design problem 16
  17. Netflix Design problem 17
  18. Spotify Design problem 18
  19. Yelp / proximity Design problem 19
  20. Food delivery Design problem 20
  21. Uber Design problem 21
  22. Google Maps Design problem 22
  23. Search autocomplete Design problem 23
  24. Web crawler Design problem 24
  25. News aggregator Design problem 25
  26. Google Search Design problem 26
  27. E-commerce (Amazon) Design problem 27
  28. Movie booking Design problem 28
  29. Flash sale Design problem 29
  30. Payment system Design problem 30
  31. Digital wallet Design problem 31
  32. Stock exchange Design problem 32
  33. Likes counter Design problem 33
  34. Real-time leaderboard Design problem 34
  35. Top K (trending) Design problem 35
  36. Ad click aggregator Design problem 36
  37. Notification system Design problem 37
  38. Job scheduler Design problem 38
  39. CI/CD pipeline Design problem 39
  40. Online code judge Design problem 40
  41. Monitoring and alerting Design problem 41
  42. A/B testing platform Design problem 42
  43. Authentication system Design problem 43
  44. Recommendation system Design problem 44
  45. Webhook delivery Design problem 45
  46. Inventory and orders Design problem 46
  47. Audit log Design problem 47
  48. Subscription billing Design problem 48
  49. Issue tracker (Jira) Design problem 49
  50. Content moderation Design problem 50
  51. Q&A (Stack Overflow) Design problem 51
  52. ChatGPT-style chat app Design problem 52
  53. RAG chatbot Design problem 53
  54. AI support agent Design problem 54
  55. AI coding assistant Design problem 55
  56. Semantic search Design problem 56
  57. LLM gateway Design problem 57
Deep dives6
  1. 1M rps: the budget Deep dive 1
  2. 1M rps: the edge Deep dive 2
  3. 1M rps: the app tier Deep dive 3
  4. 1M rps: caching and DB Deep dive 4
  5. 1M rps: load testing Deep dive 5
  6. 1M rps: failures, cost Deep dive 6
4

Low level design, the full course

All of OOP, SOLID and the 23 design patterns, thread safety, then every machine coding problem with full Java code.

90 items · about 51 hours

Lessons48
  1. Classes and objects Lesson 1
  2. Encapsulation Lesson 2
  3. Abstraction Lesson 3
  4. Inheritance Lesson 4
  5. Polymorphism Lesson 5
  6. Interface vs abstract Lesson 6
  7. Composition > inheritance Lesson 7
  8. Single responsibility Lesson 8
  9. Open/closed principle Lesson 9
  10. Liskov substitution Lesson 10
  11. Interface segregation Lesson 11
  12. Dependency inversion Lesson 12
  13. DRY, KISS and YAGNI Lesson 13
  14. Coupling and cohesion Lesson 14
  15. Dependency injection Lesson 15
  16. Immutable value objects Lesson 16
  17. Class diagrams Lesson 17
  18. Use case diagrams Lesson 18
  19. Sequence diagrams Lesson 19
  20. Activity diagrams Lesson 20
  21. Requirements to classes Lesson 21
  22. Singleton Lesson 22
  23. Factory method Lesson 23
  24. Abstract factory Lesson 24
  25. Builder Lesson 25
  26. Prototype Lesson 26
  27. Adapter pattern Lesson 27
  28. Bridge pattern Lesson 28
  29. Composite pattern Lesson 29
  30. Decorator pattern Lesson 30
  31. Facade pattern Lesson 31
  32. Flyweight pattern Lesson 32
  33. Proxy pattern Lesson 33
  34. Strategy pattern Lesson 34
  35. Observer pattern Lesson 35
  36. State pattern Lesson 36
  37. Command pattern Lesson 37
  38. Chain of responsibility Lesson 38
  39. Template method Lesson 39
  40. Iterator Lesson 40
  41. Mediator Lesson 41
  42. Memento Lesson 42
  43. Visitor pattern Lesson 43
  44. Interpreter pattern Lesson 44
  45. Thread safety Lesson 45
  46. Producer-consumer Lesson 46
  47. How to answer LLD Lesson 47
  48. Common LLD mistakes Lesson 48
Machine coding problems42
  1. Parking lot Problem 1
  2. Vending machine Problem 2
  3. Elevator system Problem 3
  4. Splitwise Problem 4
  5. In-memory cache Problem 5
  6. Rate limiter Problem 6
  7. In-memory file system Problem 7
  8. Meeting room scheduler Problem 8
  9. Task scheduler Problem 9
  10. Pub/sub and message queue Problem 10
  11. Snakes and ladders Problem 11
  12. Vehicle rental Problem 12
  13. Food ordering and billing Problem 13
  14. Logger with sinks Problem 14
  15. Library management Problem 15
  16. Connection pool Problem 16
  17. Circuit breaker Problem 17
  18. In-memory database Problem 18
  19. Undo/redo and versions Problem 19
  20. Notification service Problem 20
  21. Movie ticket booking Problem 21
  22. Cab booking Problem 22
  23. Payment gateway Problem 23
  24. Parcel locker Problem 24
  25. HashMap from scratch Problem 25
  26. Tic-tac-toe Problem 26
  27. Chess Problem 27
  28. Traffic signal Problem 28
  29. ATM Problem 29
  30. Shopping cart Problem 30
  31. Online auction Problem 31
  32. Digital wallet Problem 32
  33. Hotel booking Problem 33
  34. Q&A site Problem 34
  35. Spreadsheet Problem 35
  36. Blackjack Problem 36
  37. Jigsaw puzzle Problem 37
  38. Cricket scoreboard Problem 38
  39. Social network Problem 39
  40. Restaurant management Problem 40
  41. Airline reservation Problem 41
  42. Stock brokerage Problem 42
5

Leadership and behavioral

At senior and staff level, behavioral rounds weigh as much as design. Have a story for every theme, with scope and impact to match your level.

16 items · about 6 hours

Every theme, one story each16
  1. Ownership Sample answer
  2. Customer focus Sample answer
  3. Disagreement and candor Sample answer
  4. Failure and learning Sample answer
  5. Ambiguity and judgment Sample answer
  6. Invention and simplification Sample answer
  7. Speed and delivery Sample answer
  8. High standards Sample answer
  9. Diving deep Sample answer
  10. Collaboration and inclusion Sample answer
  11. Growing others Sample answer
  12. Integrity and trust Sample answer
  13. Big impact and long-term thinking Sample answer
  14. Doing more with less Sample answer
  15. Curiosity and growth Sample answer
  16. Resilience and courage Sample answer
6

AI engineeringOptional

More and more senior loops ask how you would build with LLMs: agents, tool calling, retrieval and evals.

35 items · about 14 hours

Lessons35
  1. How LLMs work Lesson 1
  2. Tokens and context windows Lesson 2
  3. Embeddings Lesson 3
  4. Temperature and top-p Lesson 4
  5. Attention and transformers Lesson 5
  6. Choosing a model Lesson 6
  7. Prompt engineering basics Lesson 7
  8. Few-shot and reasoning Lesson 8
  9. Structured output Lesson 9
  10. Prompt caching Lesson 10
  11. Prompt injection Lesson 11
  12. What is an AI agent Lesson 12
  13. Tool calling Lesson 13
  14. The agent loop Lesson 14
  15. Agent memory Lesson 15
  16. Model Context Protocol (MCP) Lesson 16
  17. RAG Lesson 17
  18. Multi-agent systems Lesson 18
  19. Browser and computer use Lesson 19
  20. Guardrails and evals Lesson 20
  21. Chunking documents Lesson 21
  22. Vector databases and HNSW Lesson 22
  23. Hybrid search and reranking Lesson 23
  24. Advanced RAG Lesson 24
  25. Evaluating RAG Lesson 25
  26. Prompt, RAG or fine-tune? Lesson 26
  27. Fine-tuning and LoRA Lesson 27
  28. Distillation Lesson 28
  29. RLHF and DPO Lesson 29
  30. LLM evals in practice Lesson 30
  31. Tracing and observability Lesson 31
  32. Cost and latency Lesson 32
  33. Serving and inference Lesson 33
  34. Safety and red-teaming Lesson 34
  35. Privacy and compliance Lesson 35

Questions about this path

Who is the Senior and Staff path for?

SDE 3, senior, staff and principal engineers (5+ years). Walk into any senior or staff loop with no blind spot: coding, design depth, machine coding and leadership stories.

How long does it take?

About 42 weeks at two hours a day for the required stages (about 590 hours), counting each DSA problem with its two revisions. Optional stages are extra.

Is it really free?

Yes. Every problem, walkthrough, lesson and sample answer on the path is free. An account is only needed to keep your progress across devices.

What if I have already solved some of these problems?

Anything you log anywhere on AlgoRung counts here: a problem solved from the DSA sheet or a walkthrough watched in System Design is already ticked on the path.

Why repeat the 231 core problems at senior level?

Senior loops still have one or two coding rounds, and they expect clean, fast answers. Revise the core sheet quickly, then spend most of the time on the advanced problems and design.

When should I start applying?

When the required stages show green. Then pick your companies on the Interviews page: it shows the questions each company reports, and a problem you solved here counts there too.

Both prep paths · DSA sheet · System Design · Low Level Design · Behavioral questions · Updated 2026