458 B
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