This repository contains my solutions to the Striver A2Z DSA Sheet, a well-structured guide to mastering Data Structures and Algorithms. The sheet covers everything from basic to advanced topics, making it an excellent resource for coding interviews and competitive programming.
Each solution is implemented in C++ and follows an optimized approach wherever possible. The repository is structured for easy navigation, with problems categorized according to the Striver A2Z roadmap.
Striver_A2Z_DSA/
βββ Level 1 - Basics/
βββ Level 2 - Sorting & Searching/
βββ Level 3 - Basic Recursion/
βββ Level 4 - Hashing & Bit Manipulation/
βββ Level 5 - Stack, Queue & Linked List/
βββ Level 6 - Trees & Binary Search Trees/
βββ Level 7 - Graphs/
βββ Level 8 - Dynamic Programming/
βββ Level 9 - Greedy Algorithms/
βββ Level 10 - Tries & Advanced Topics/
βββ README.md
Each folder contains multiple problems along with their solutions.
The sheet is divided into multiple levels, progressing from beginner-friendly problems to advanced competitive coding concepts. Below is an overview:
- Time & Space Complexity
- Pattern Problems
- Basic Mathematics
- Bubble, Selection, Insertion Sort
- Binary Search & Applications
- Introduction to Recursion
- Backtracking Problems
- Hashmaps & Frequency Count
- XOR-based Problems
- Stack and Queue Implementation
- Singly & Doubly Linked List Operations
- Binary Trees, BST Traversals
- Lowest Common Ancestor (LCA)
- BFS, DFS Traversals
- Dijkstraβs & Floyd Warshall Algorithm
- Fibonacci, Knapsack, LIS
- DP on Trees & Graphs
- Activity Selection
- Huffman Encoding
- Trie Implementation
- Segment Trees & Disjoint Sets
- Clone the repository:
git clone https://github.com/Akashgite1/StriverA2Z.git
- Navigate to the desired topic and open the corresponding C++ file.
- Run the code using a C++ compiler like g++ or any IDE of your choice.
g++ filename.cpp -o output ./output
β
Comprehensive - Covers all essential DSA topics in a structured manner.
β
Interview-Oriented - Helps in mastering concepts required for FAANG-level interviews.
β
Competitive Programming - Boosts problem-solving skills for coding contests.
β
Progressive Learning - Starts from basics and gradually moves to advanced topics.
Feel free to contribute by improving solutions or adding alternative approaches. To contribute:
- Fork the repository
- Create a new branch
- Commit your changes
- Open a pull request
If you have any queries, feel free to reach out or open an issue.
π§ Email: akashgite550@gmail.com
π LinkedIn: Your Profile
π» GitHub: Your GitHub
π Let's master DSA together! Happy Coding! π