Welcome! This is a repository of my solutions to LeetCode/NeetCode problems.
The general format consists of my initial attempt at solving the problem, followed by the solution given by NeetCode. My solutions will often not be optimal and may contain beginner-level mistakes, incorrect analyses of complexity, or non-standard formatting. After all, this was intended as a learning exercise for me. Comments and corrections are welcome!
The NeetCode roadmap is a fantastic resource for learning to code and highly recommended.