Skip to content

Shreyaa983/dsa-journey

Repository files navigation

🧠 DSA Journey

Welcome to my Data Structures & Algorithms (DSA) preparation journey!

This repository documents my structured practice of 180+ handpicked DSA questions, organized by topic and difficulty level. The questions are based on Striver's SDE Sheet, one of the most widely respected roadmaps for software engineering interview preparation.


🎯 Goal

To master fundamental and advanced DSA concepts through consistent, focused practice — and to improve both my problem-solving depth and coding fluency.
I’m tracking my learning across five revision levels to ensure spaced repetition and retention.


📚 Topics Covered

  1. Time Complexity
  2. Searching
  3. Sorting
  4. Arrays
  5. Strings
  6. Linked Lists
  7. Hashmaps & Sets
  8. Stacks & Queues
  9. Two Pointers
  10. Greedy
  11. Heaps
  12. Bitwise Manipulation
  13. Recursion & Backtracking
  14. Trees
  15. Dynamic Programming
  16. Graphs
  17. Union-Find
  18. Tries All problems are organized into folders under these topic names.

📈 Revision Strategy

Each topic is revised through five progressive levels:

Revision Level Description Problem Count
Rev 1 Very Easy Questions 10–15
Rev 2 Easy Questions 8–10
Rev 3 Medium Level (Round 1) 10–12
Rev 4 Medium Level (Round 2) 10–12
Rev 5 Company-Specific/Advanced Focus varies

🧩 How I Solve Each Problem

I'm following the 6-step problem-solving strategy by Anthony D. Mays (former Google Engineer):

  1. 🗣️ Repeat the problem aloud to ensure understanding and buy time.
  2. Ask clarifying questions to validate assumptions.
  3. 🔍 Work through examples to understand edge cases and behavior.
  4. 💡 Brainstorm multiple solutions, aiming for the most optimal.
  5. 💻 Implement correct code in C++/Python — no pseudocode.
  6. 🐞 Test thoroughly with edge cases and step-by-step walkthroughs.

🗂️ Folder Structure

Dsa-journey/

  • arrays/
  • strings/
  • linked-lists/
  • hashmaps-and-sets/
  • stacks-and-queues/
  • two-pointers/
  • greedy/
  • heaps/
  • bitwise/
  • recursion-and-backtracking/
  • trees/
  • dp/
  • graphs/
  • union-find/
  • tries/
    Each folder contains solutions in .cpp format with:
  • Problem name
  • Problem link
  • Approach explanation
  • Clean, commented code

📌 Why This Repo?

  • To stay accountable and track my progress visually
  • To solidify concepts through repetition and structure
  • To document high-quality solutions for revision and sharing

💻 Platforms Used


💬 "Coding interviews aren't just about code — they're about communication, clarity, and consistency." — Inspired by Anthony D. Mays

About

Solving 180+ curated DSA problems from Striver's SDE Sheet in C++ — organized by topics like Arrays, Trees, Graphs, DP, and more.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors