Files
org_roam/20250804212215-how_to_solve_leetcode.org

458 B

how-to-solve-leetcode

Process:

  • Read the problem twice to understand it
  • Try think basically of different ways to solve the problem
  • Think end-to-end (e2e) of the best solutions based on complexity
  • Write the algorithm from patterns in drawing
  • Code it out
  • Try and improve it once you think you're finished
  • Go through other solutions