This repo aims to archive all of the leetcode problems I've solved. It follows the following structure:
- Problem folder (e.g two-sum)
- README file
- Problem's details
- Difficulty (stated in the platform)
- Solution results
- Language folder (e.g python)
- Solution file(s)
- README file
I mostly solve these to solidify knowledge and for fun when I'm bored.
Basically, they're useless! Sometimes I'd get a runtime of 60ms while other times I'd get 120ms, all with the same code. And honestly, becomes less of an hassle implementing solutions.
- How to use leetcode efficiently for beginners
- Don't trust leetcode's measurements! (you can find other sources saying the same, focus on time and space complexity)