My solutions to the problems I've worked through on NeetCode, mainly as part of improving my data structures and algorithms skills.
I use this repo to keep track of what I've solved, revisit problems I've struggled with, and look back at how my approach to different problems has developed over time.
Solutions are organised roughly around the categories used by NeetCode.
Some problems have multiple submissions as I experiment with different approaches or come back to improve an earlier solution.
Current areas include:
- Arrays & Hashing
- Two Pointers
- Sliding Window
- Stack
- Binary Search
- Linked List
- Trees
- Tries
- Heap / Priority Queue
- Backtracking
- Graphs
- Advanced Algorithms
I'm mainly using Python for these problems, but I also use the repository to practise other languages:
- Python
- Java
- C++
I'm not just aiming to get a green Accepted.
For each problem, I want to understand:
- Why the solution works
- The time and space complexity
- Which data structure or algorithm makes the problem easier
- How to recognise similar patterns in other problems
- Whether the solution can be made simpler or more efficient
The goal is to build intuition for DSA, rather than memorising solutions.
This repository is synced with my NeetCode submissions, so it will continue to grow as I work through more problems.
One problem at a time.
@AskewCow Β· Trinity College Dublin