Skip to content
mlmentorship

Complete core coverage

Reuse the main patterns across bits, strings, matrices, trees, graphs, intervals, and caches.

Priority
Core
Difficulty
Mixed
Useful for
MLE, RE, AS
Interview rounds
Coding, ML implementation

Chapter contents

32 lessons
Visual lessons 32
  1. 01
    Contains Duplicate
    Question
  2. 02
    Maximum Subarray
    Question
  3. 03
    Best Time to Buy and Sell Stock
    Question
  4. 04
    Maximum Product Subarray
    Question
  5. 05
    Number of 1 Bits
    Question
  6. 06
    Counting Bits
    Question
  7. 07
    Missing Number
    Question
  8. 08
    Reverse Bits
    Question
  9. 09
    Sum of Two Integers
    Question
  10. 10
    Remove the final coin and reuse the best smaller total
    Question
  11. 11
    Longest Increasing Subsequence
    Question
  12. 12
    Launch words only from completely segmentable prefixes
    Question
  13. 13
    Combination Sum IV
    Question
  14. 14
    House Robber II
    Question
  15. 15
    Add parse counts only for valid final tokens
    Question
  16. 16
    Unique Paths
    Question
  17. 17
    Graph Valid Tree
    Question
  18. 18
    Number of Connected Components
    Question
  19. 19
    Meeting Rooms: Make Every Conflict an Adjacent Boundary
    Question
  20. 20
    Reorder List
    Question
  21. 21
    Set Matrix Zeroes
    Question
  22. 22
    Spiral Matrix
    Question
  23. 23
    Rotate Image
    Question
  24. 24
    Valid Palindrome
    Question
  25. 25
    Longest Palindromic Substring
    Question
  26. 26
    Palindromic Substrings
    Question
  27. 27
    Encode and Decode Strings
    Question
  28. 28
    Construct Tree From Preorder and Inorder Traversal
    Question
  29. 29
    Validate Binary Search Tree
    Question
  30. 30
    Kth Smallest Element in a BST
    Question
  31. 31
    Lowest Common Ancestor in a BST
    Question
  32. 32
    Join direct key lookup to a doubly linked recency order
    Question