https://github.com/nafistarik/leetcode-problems
A collection of my DSA problem solves with a clear thinking strategy from brute force to optimal. Each folder contains my explanation and the most efficient code.
https://github.com/nafistarik/leetcode-problems
array binary-search brute-force string two-pointer
Last synced: 5 months ago
JSON representation
A collection of my DSA problem solves with a clear thinking strategy from brute force to optimal. Each folder contains my explanation and the most efficient code.
- Host: GitHub
- URL: https://github.com/nafistarik/leetcode-problems
- Owner: nafistarik
- Created: 2025-05-05T17:51:41.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-05-19T20:14:12.000Z (9 months ago)
- Last Synced: 2025-06-07T02:08:59.281Z (9 months ago)
- Topics: array, binary-search, brute-force, string, two-pointer
- Language: JavaScript
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π§ My DSA Problem Solving
This is **not just a collection of code** β itβs a journey of how I solve problems, reflect on mistakes, improve my logic, and master algorithmic thinking step by step.
I use this repo to document my:
- β Understanding of the **problem statement**
- π Initial **brute-force** logic
- β οΈ **Mistakes** or wrong assumptions I made
- π§ **Corrections** and **debugging steps**
- β‘ Final **optimized approach**
- π§ͺ **Edge case analysis** and thought clarity
Each problem folder = π One learning story.
---
## π Repository Goals
> Solve with thinking, not just coding.
πΉ **Learn DSA deeply**, one real problem at a time
πΉ **Reflect and journal** my thought process
πΉ **Avoid copying** β solve from scratch with my logic
πΉ **Master problem patterns** via repetition and intuition
πΉ **Prepare for interviews** through conceptual clarity and coding confidence
---
## π My Current Focus: Top Interview 150 on LeetCode
π― Iβm solving problems from the [**Leetcode Top Interview List**](https://leetcode.com/list/xi4ci4ig/) in the **same sequence as Apna College's DSA Playlist** to follow a structured roadmap.
---
## π Resources That Guide Me
π₯ Apna College DSA Playlist
- π [Watch Here](https://www.youtube.com/playlist?list=PLfqMhTWNBTe0b2nM6JHVCnAkhQRGiZMSJ)
- π I follow this playlist to plan my problem-solving topics in order (arrays β strings β recursion β etc.).
π§ Nikhil Lohia - Algorithmic Paradigms
- π [Watch Here](https://www.youtube.com/playlist?list=PLiC1doDIe9rBzGkVgaR9XO_Jj4AA9Wio1)
- π I watch this to think in terms of brute force β optimization and understand how to *design* an algorithm before coding it.
π OβReilly: Data Structures & Algorithms by Michael McMillan
- π [Book Link](https://www.oreilly.com/library/view/data-structures-and/9781449364939/)
- π I read this for strong conceptual foundations β especially on how data structures work under the hood.
π§© Leetcode Top Interview 150
- π [Target List](https://leetcode.com/list/xi4ci4ig/)
- π― This is my primary problem set right now β each solved problem goes into this repo.
---
## π Structure of Each Problem Folder
Each problem I solve gets its own folder:
```
π /Problem-Name
β£ π README.md β My complete thought process, logic, mistakes & learnings
β π index.js β Final optimal solution (with clean code & comments)
```