Skip to content

coder-Retro/DSA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

180 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📘 Data Structures & Algorithms

A comprehensive collection of Data Structures, Algorithms, Problem Solving Patterns, STL tutorials, and LeetCode practice solutions implemented in C++.

This repository is designed as a personal learning journey and a structured reference for anyone preparing for coding interviews, competitive programming, or strengthening their understanding of fundamental computer science concepts.


📖 Repository Goals

  • Learn Data Structures from scratch
  • Master common Algorithmic techniques
  • Understand problem-solving patterns
  • Practice interview questions
  • Build strong problem-solving intuition
  • Create a reusable DSA reference

📂 Repository Structure

DSA
├── Algorithms
├── Data_Structures
├── LeetCode
├── Notes
├── Patterns
├── Pointers
└── STLContainers

📚 Algorithms

Contains implementations of classical algorithms including searching, sorting and more.


🗂 Data Structures

Implementation and practice of fundamental data structures including:

  • Arrays
  • Linked Lists
  • Stacks
  • Queues
  • Binary Search Trees

🧩 Patterns

A collection of interview-focused problem-solving patterns.

Examples include:

  • PrefixSum And SuffixSum
  • Two Pointers
  • Slow & Fast Pointers
  • Sliding Window
  • Binary Search
  • Recursion
  • Bit Manipulation

Understanding these patterns helps solve hundreds of interview questions efficiently.


📦 STLContainers

Examples and explanations of the C++ Standard Template Library.

Topics include:

  • Vector
  • List
  • Stack
  • Queue
  • Deque
  • Priority Queue

👉 Pointers

Dedicated examples covering C++ pointer concepts including:

  • Pointer basics
  • Pointer arithmetic
  • Dynamic memory
  • Double pointers
  • References
  • Function pointers
  • Memory management

💻 LeetCode

Solutions to LeetCode problems organized for revision and interview preparation. Organized by first the difficulty and then the problem ID on Leetcode.


📝 Notes

Theory notes and conceptual explanations that complement the implementation code.

These notes serve as quick revision material while studying.


🎯 Learning Path

For beginners, the recommended order is:

  1. Pointers
  2. STL Containers
  3. Study using Notes
  4. Basic Data Structures
  5. Algorithms
  6. Problem Solving Patterns
  7. LeetCode Practice

🛠 Technologies

  • C++
  • Standard Template Library (STL)
  • GCC / Clang compatible
  • Git & GitHub

🚀 How to Use This Repository

Clone the repository:

git clone https://github.com/coder-Retro/DSA.git

Navigate to any topic directory and compile the examples using your preferred C++ compiler.

Example:

g++ example.cpp -o example
./example

🤝 Contributing

Suggestions, corrections, and improvements are always welcome.

If you discover a bug or have a better implementation, feel free to open an issue or submit a pull request.


📌 Future Improvements

  • Add visual diagrams
  • Link related concepts
  • Add benchmark comparisons where applicable

⭐ Support

If this repository helps you learn Data Structures and Algorithms, consider giving it a ⭐ on GitHub. It helps others discover the project and motivates further improvements.

Happy Coding! 🚀

About

No description, website, or topics provided.

Resources

License

Stars

5 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages