An open API service indexing awesome lists of open source software.

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.

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)

```