Files
org_roam/20250804212215-how_to_solve_leetcode.org
2025-12-28 20:41:18 +00:00

458 B
Executable File

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