Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
chandanagrawal23
DSA-Sheet
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
DSA-Sheet
Public
Notifications
You must be signed in to change notification settings
Fork
4
(
4
)
Star
15
(
15
)
You must be signed in to star a repository
About
Contains almost all important question with solution
Activity
Stars
15
stars
Watchers
3
watching
Forks
4
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
622 Commits
622 Commits
Folders and files
Name
Name
Last commit message
Last commit date
BinaryTree
BinaryTree
BitManipulation
BitManipulation
DP
DP
DSU
DSU
Design
Design
Graph
Graph
HalwaProblems
HalwaProblems
Heap
Heap
MAANG
MAANG
MonotonicStack
MonotonicStack
PrefixSum
PrefixSum
SQRT_Decompose
SQRT_Decompose
Sorting
Sorting
Strings
Strings
SweepLine
SweepLine
TRIE
TRIE
TwoPointer
TwoPointer
01_Matrix.cpp
01_Matrix.cpp
AllPathsFromSourceToTarget.cpp
AllPathsFromSourceToTarget.cpp
ApplySubstitutions.cpp
ApplySubstitutions.cpp
AverageOfLevelsInBinaryTree.cpp
AverageOfLevelsInBinaryTree.cpp
BST_ToDoublyList.cpp
BST_ToDoublyList.cpp
BalancedBinaryTree.cpp
BalancedBinaryTree.cpp
BasicCalculator_II.cpp
BasicCalculator_II.cpp
BeautifulArrangement.cpp
BeautifulArrangement.cpp
BestTimeToBuyAndSellStock.cpp
BestTimeToBuyAndSellStock.cpp
BinarySubarrayWithSum.cpp
BinarySubarrayWithSum.cpp
BinaryTreeInorderTraversal.cpp
BinaryTreeInorderTraversal.cpp
BinaryTreeLevelOrderTraversal.cpp
BinaryTreeLevelOrderTraversal.cpp
BinaryTreeMaximumPathSum.cpp
BinaryTreeMaximumPathSum.cpp
BinaryTreePostorderTraversal.cpp
BinaryTreePostorderTraversal.cpp
BinaryTreePreorderTraversal.cpp
BinaryTreePreorderTraversal.cpp
BinaryTreePreorder_using_stack.cpp
BinaryTreePreorder_using_stack.cpp
BinaryTreeZigzagLevelOrderTraversal.cpp
BinaryTreeZigzagLevelOrderTraversal.cpp
BottomViewOfBinaryTree.cpp
BottomViewOfBinaryTree.cpp
BrickWall.cpp
BrickWall.cpp
BrowserHistory.cpp
BrowserHistory.cpp
BubbleSort.cpp
BubbleSort.cpp
CapacityToShipPackagesWithinDDays.cpp
CapacityToShipPackagesWithinDDays.cpp
CheckIfGridCanBeCutIntoSections.cpp
CheckIfGridCanBeCutIntoSections.cpp
CircleAndRectangleOverlapping.cpp
CircleAndRectangleOverlapping.cpp
Closest NodesQueriesinaBinarySearchTree.cpp
Closest NodesQueriesinaBinarySearchTree.cpp
CombinationSum.cpp
CombinationSum.cpp
CombinationSumII.cpp
CombinationSumII.cpp
CombinationSumIII.cpp
CombinationSumIII.cpp
ConstructBinaryTreefromPreorderandInorderTraversal.cpp
ConstructBinaryTreefromPreorderandInorderTraversal.cpp
ConstructProductMatrix.cpp
ConstructProductMatrix.cpp
ContiguousArray.cpp
ContiguousArray.cpp
ContinuousSubarraySum.cpp
ContinuousSubarraySum.cpp
ConvertBSTtoGreaterTree.cpp
ConvertBSTtoGreaterTree.cpp
ConvertSortedArraytoBinarySearchTree.cpp
ConvertSortedArraytoBinarySearchTree.cpp
ConvertSortedListToBinarySearchTree.cpp
ConvertSortedListToBinarySearchTree.cpp
CountCompleteTreeNodes.cpp
CountCompleteTreeNodes.cpp
CountDaysWithoutMeetings.cpp
CountDaysWithoutMeetings.cpp
CountNumberOfTrapezoids_I.cpp
CountNumberOfTrapezoids_I.cpp
CountSubarraysWithScoreLessThanK.cpp
CountSubarraysWithScoreLessThanK.cpp
CountSubmatricesWithEqualFrequencyX_Y.cpp
CountSubmatricesWithEqualFrequencyX_Y.cpp
CountSubmatriceswithTop-LeftElementAndSumLessThanK.cpp
CountSubmatriceswithTop-LeftElementAndSumLessThanK.cpp
CountTheNumberofGoodSubarrays.cpp
CountTheNumberofGoodSubarrays.cpp
DataStreamAsDisjointIntervals.cpp
DataStreamAsDisjointIntervals.cpp
DecodeString.cpp
DecodeString.cpp
DestroyingAsteroids.cpp
DestroyingAsteroids.cpp
DivideChocolate.cpp
DivideChocolate.cpp
FaceBook_Queue_Medium.cpp
FaceBook_Queue_Medium.cpp
FaceBook_Stack_Hard.cpp
FaceBook_Stack_Hard.cpp
FibonacciNumber.cpp
FibonacciNumber.cpp
FindFirstandLastPositionofElementinSortedArray.cpp
FindFirstandLastPositionofElementinSortedArray.cpp
FindKthSmallestPairDistance.cpp
FindKthSmallestPairDistance.cpp
FindMaximumNumberOfNonIntersectingSubstrings.cpp
FindMaximumNumberOfNonIntersectingSubstrings.cpp
FindMedianfromDataStream.cpp
FindMedianfromDataStream.cpp
FindTheSmallestDivisorGivenThreshold.cpp
FindTheSmallestDivisorGivenThreshold.cpp
FirstUnique.cpp
FirstUnique.cpp
GroupAnagram.cpp
GroupAnagram.cpp
Heaters_BinarySearch.cpp
Heaters_BinarySearch.cpp
HouseRobberIV.cpp
HouseRobberIV.cpp
InsertintoABinarySearchTree.cpp
InsertintoABinarySearchTree.cpp
InsertionSort.cpp
InsertionSort.cpp
InvertBinaryTree.cpp
InvertBinaryTree.cpp
JumpGame_III.cpp
JumpGame_III.cpp
JumpGame_VI.cpp
JumpGame_VI.cpp
JumpGame_VII.cpp
JumpGame_VII.cpp
KadaneMaxSubArraySum.cpp
KadaneMaxSubArraySum.cpp
KokoEatingBananas.cpp
KokoEatingBananas.cpp
KthLargest.cpp
KthLargest.cpp
KthSmallestElementInASortedMatrix_BinarySearch.cpp
KthSmallestElementInASortedMatrix_BinarySearch.cpp
KthSmallestNumberinMultiplicationTable.cpp
KthSmallestNumberinMultiplicationTable.cpp
Kth_largest_in_array_heap.cpp
Kth_largest_in_array_heap.cpp
Kth_largest_in_array_sorting.cpp
Kth_largest_in_array_sorting.cpp
LRUcache.cpp
LRUcache.cpp
LargestTriangleArea.cpp
LargestTriangleArea.cpp
LargestTripletMultiplication.cpp
LargestTripletMultiplication.cpp
LeftViewOfBinaryTree.cpp
LeftViewOfBinaryTree.cpp
LinkedListRandomNode.cpp
LinkedListRandomNode.cpp
LongestIncreasingSubsequence_UsingBinarySearch.cpp
LongestIncreasingSubsequence_UsingBinarySearch.cpp
LongestSemiRepeatingSubarray.cpp
LongestSemiRepeatingSubarray.cpp
LongestSubarrayWithSumK.cpp
LongestSubarrayWithSumK.cpp
LongestValidParentheses.cpp
LongestValidParentheses.cpp
MagneticForceBetweenTwoBalls.cpp
MagneticForceBetweenTwoBalls.cpp
MakeStringGreat.cpp
MakeStringGreat.cpp
MakeSumDivisibleByP.cpp
MakeSumDivisibleByP.cpp
View all files
About
Contains almost all important question with solution
Activity
Stars
15
stars
Watchers
3
watching
Forks
4
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.