MCPcopy Create free account
hub / github.com/Codensity30/Strivers-A2Z-DSA-Sheet

github.com/Codensity30/Strivers-A2Z-DSA-Sheet @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
701 symbols 1,136 edges 369 files 145 documented · 21% updated 2mo ago★ 6392 open issues

Browse by type

Functions 668 Types & classes 33
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Striver's A2Z DSA Sheet

contains everything related to Stiver's A2Z sheet along with question, approach and code.

Each topic has its own directory, which is further divided into difficulties containing the solutions to the problems within that category along with approach. The filenames correspond to the problem number or a brief description for easier identification.

...cpp

  • Question: [Problem Statement]
  • Approach: [Brief explanation of the approach used]
  • Code: [C++ code of the following approach]
  • Time Complexity: [Time complexity analysis]
  • Space Complexity: [Space complexity analysis]

Contribution guidelines

Contributions to this repository are welcome. If you'd like to contribute your own solutions or suggest improvements, please follow these guidelines:

Fork the repository.
Create a new branch for your contributions: git checkout -b your-branch-name.
Make your changes and add your solutions.
Commit your changes with descriptive commit messages: git commit -m "Add solution to Problem X".
Push your changes to your forked repository: git push origin your-branch-name.
Open a pull request on the original repository, explaining the changes you made and why they should be merged.

Disclamer

The solutions in this repository are intended to serve as a reference and learning resource. It is recommended to understand the problem-solving techniques and attempt to solve the problems yourself before referring to the solutions.

Resources

Striver's A2Z DSA Sheet

----- Consistency Matters -----

1000

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 594
Method 74
Class 33

Languages

C++100%

Modules by API surface

15. Tries/2. Problems/05. Maximum XOR of two numbers.cpp8 symbols
15. Tries/2. Problems/01. Implement Trie 2.cpp8 symbols
15. Tries/2. Problems/02. Complete String.cpp7 symbols
15. Tries/1. Theory/01. Implement Trie (Prefix Tree).cpp7 symbols
15. Tries/2. Problems/03. Count distinct subsitrings.cpp6 symbols
13. Graphs/5. MST Problems/07. Making Large Island.cpp6 symbols
13. Graphs/5. MST Problems/06. Number of islands 2.cpp6 symbols
13. Graphs/5. MST Problems/04. Most stones removed.cpp6 symbols
13. Graphs/5. MST Problems/03. Number of Operations to make Network.cpp6 symbols
09. Heaps/1. Learning/01. Implement min heap.cpp6 symbols
07.Stack and Queues/1. Learning/07. Implement min stack.cpp6 symbols
07.Stack and Queues/1. Learning/05. Implement stack using linked list.cpp6 symbols

For agents

$ claude mcp add Strivers-A2Z-DSA-Sheet \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page