Skip to content

LeetCode Interview Prep

Progress

Lessons learned

  1. 2026-04-07
    • read carefully the questions and conditions
    • find the solution on paper. if you don't have it on paper, odds are you're not going to have it on computer.
    • when you find the trick, solution are often simple and classic.
  2. 2026-04-11
    • draw
      • try different visual representations
      • it helps see and find patterns
      • it helps think about the right data structures to use
    • run algorithm by hand with visuals using small values
    • re-state/reformulate the problem
  3. 2026-04-14
    • When your test fail, maybe some test cases are wrong and your implementation of the solution is right.
    • Be sure the helper you use in your test to build data structures like list, trees, ... are correct. Your tests may be failing because of them being wrong.
  4. 2026-04-15
    • When your reasoning on a "set" of something (can be tuple, list, set, tree, ...), change the way you look at it. You can look at its elements individualy or see them as subsets. For instance, if x = [1, 2, 3, 4, 5], you can look at 1, or any other of its elements, or, like this x = [A | B] where A = [1, 2] and B = [3, 4, 5].
  5. 2026-04-19
    • Sometimes the solution (specifically for time and space constraints) uses a property about the system or a specific algorithm you never encounter before. Chances are you wont find it in a limited time. It's ok, don't take it personally. After trying your best, just learn the trick and add it in your toolkit.

LeetCode Top Easy

[25/48] LeetCode Top Easy

LeetCode SQL 50

[0/50] LeetCode SQL 50