← Back

DSA for the Self-Taught Developer: Where I Started

I avoided algorithms for two years. Then I realized they're not about memorizing — they're about building a certain kind of thinking.

·2 min read·288 words

title: "DSA for the Self-Taught Developer: Where I Started" description: "I avoided algorithms for two years. Then I realized they're not about memorizing — they're about building a certain kind of thinking." date: "2024-09-03" tags: ["DSA", "career", "learning"]

For the longest time, I treated Data Structures and Algorithms as gatekeeping — arbitrary puzzles invented by big tech to filter out people like me. I was wrong.

The Shift in Perspective

Algorithms are not about memorizing solutions. They're about building a muscle for structured decomposition. Once that clicked, the anxiety dropped significantly.

Where I Actually Started

I used NeetCode.io — not LeetCode raw. The difference: NeetCode groups problems by pattern. You're not solving random puzzles; you're learning to recognize categories.

The first five patterns I focused on:

  1. Two Pointers — deceptively simple, applies everywhere
  2. Sliding Window — substring problems become manageable
  3. Hash Maps — trading space for time, constantly
  4. Binary Search — not just sorted arrays; it's a thinking pattern
  5. BFS/DFS — once you see graphs everywhere, you can't unsee them

The Practice Loop That Works for Me

1. Attempt the problem for 20 minutes
2. If stuck — watch NeetCode's explanation up to the approach, not the code
3. Code it myself from the approach
4. Review the time/space complexity
5. Do it again 3 days later without looking

The key is spaced repetition, not grinding 10 problems a day.

What I Wish I Knew Earlier

Arrays and strings problems are not "easy" — they just look easy. If you can consistently solve medium-level Two Pointer and Sliding Window problems, you can pass most screening rounds at solid companies.

The goal at my stage isn't to master DP (dynamic programming). It's to be solid on the fundamentals that 80% of interviews actually test.

Where I Am Now

Basics level, moving steadily. The target: 150 quality problems solved over 3 months. Quality over quantity, always.