Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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 }}
vaibhavnirmal2001
DSA-problems
Repository navigation
Code
Issues
16
(16)
Pull requests
3
(3)
Discussions
Actions
Projects
Security and quality
Insights
More
items
DSA-problems
Public
Notifications
You must be signed in to change notification settings
Fork
53
(
53
)
Star
27
(
27
)
You must be signed in to star a repository
About
Contribute on this repository with valid pull request
Topics
cpp
dsa
java
leetcode
leetcode-solutions
problemsolving
Resources
Readme
Contributing
Contributing
Activity
Stars
27
stars
Watchers
1
watching
Forks
53
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
270 Commits
270 Commits
Folders and files
Name
Name
Last commit message
Last commit date
01-matrix
01-matrix
1's Complement - GFG
1's Complement - GFG
1-two-sum
1-two-sum
100-same-tree
100-same-tree
1009-complement-of-base-10-integer
1009-complement-of-base-10-integer
101. Symmetric Tree
101. Symmetric Tree
1010-pairs-of-songs-with-total-durations-divisible-by-60
1010-pairs-of-songs-with-total-durations-divisible-by-60
1011-capacity-to-ship-packages-within-d-days
1011-capacity-to-ship-packages-within-d-days
1019-next-greater-node-in-linked-list
1019-next-greater-node-in-linked-list
102-binary-tree-level-order-traversal
102-binary-tree-level-order-traversal
1021-remove-outermost-parentheses
1021-remove-outermost-parentheses
1022-sum-of-root-to-leaf-binary-numbers
1022-sum-of-root-to-leaf-binary-numbers
1027. Longest Arithmetic Subsequence
1027. Longest Arithmetic Subsequence
1029-two-city-scheduling
1029-two-city-scheduling
103-binary-tree-zigzag-level-order-traversal
103-binary-tree-zigzag-level-order-traversal
104-maximum-depth-of-binary-tree
104-maximum-depth-of-binary-tree
1041-robot-bounded-in-circle
1041-robot-bounded-in-circle
1049-last-stone-weight-ii
1049-last-stone-weight-ii
105-construct-binary-tree-from-preorder-and-inorder-traversal
105-construct-binary-tree-from-preorder-and-inorder-traversal
108-convert-sorted-array-to-binary-search-tree
108-convert-sorted-array-to-binary-search-tree
1089-duplicate-zeros
1089-duplicate-zeros
1094-car-pooling
1094-car-pooling
11-container-with-most-water
11-container-with-most-water
110-balanced-binary-tree
110-balanced-binary-tree
1111-maximum-nesting-depth-of-two-valid-parentheses-strings
1111-maximum-nesting-depth-of-two-valid-parentheses-strings
112-path-sum
112-path-sum
113-path-sum-ii
113-path-sum-ii
114-flatten-binary-tree-to-linked-list
114-flatten-binary-tree-to-linked-list
1143-longest-common-subsequence
1143-longest-common-subsequence
115-distinct-subsequences
115-distinct-subsequences
1155-number-of-dice-rolls-with-target-sum
1155-number-of-dice-rolls-with-target-sum
116-populating-next-right-pointers-in-each-node
116-populating-next-right-pointers-in-each-node
118-pascals-triangle
118-pascals-triangle
120-triangle
120-triangle
1202-smallest-string-with-swaps
1202-smallest-string-with-swaps
121-best-time-to-buy-and-sell-stock
121-best-time-to-buy-and-sell-stock
1217. Minimum Cost to Move Chips to The Same Position
1217. Minimum Cost to Move Chips to The Same Position
122-best-time-to-buy-and-sell-stock-ii
122-best-time-to-buy-and-sell-stock-ii
1220-count-vowels-permutation
1220-count-vowels-permutation
123-best-time-to-buy-and-sell-stock-iii
123-best-time-to-buy-and-sell-stock-iii
1249-minimum-remove-to-make-valid-parentheses
1249-minimum-remove-to-make-valid-parentheses
1255.Maximum Score Words Formed by Letters
1255.Maximum Score Words Formed by Letters
126-word-ladder-ii
126-word-ladder-ii
127-word-ladder
127-word-ladder
128. Longest Consecutive Sequence
128. Longest Consecutive Sequence
1283-find-the-smallest-divisor-given-a-threshold
1283-find-the-smallest-divisor-given-a-threshold
1288-remove-covered-intervals
1288-remove-covered-intervals
1291-sequential-digits
1291-sequential-digits
13-Roman-to-Integer
13-Roman-to-Integer
1305-all-elements-in-two-binary-search-trees
1305-all-elements-in-two-binary-search-trees
131-palindrome-partitioning
131-palindrome-partitioning
1328-break-a-palindrome
1328-break-a-palindrome
1329-sort-the-matrix-diagonally
1329-sort-the-matrix-diagonally
133-clone-graph
133-clone-graph
1337-the-k-weakest-rows-in-a-matrix
1337-the-k-weakest-rows-in-a-matrix
134-gas-station
134-gas-station
1342-number-of-steps-to-reduce-a-number-to-zero
1342-number-of-steps-to-reduce-a-number-to-zero
1359-count-all-valid-pickup-and-delivery-options
1359-count-all-valid-pickup-and-delivery-options
136-single-number
136-single-number
1363-largest-multiple-of-three
1363-largest-multiple-of-three
1365-how-many-numbers-are-smaller-than-the-current-number
1365-how-many-numbers-are-smaller-than-the-current-number
138-copy-list-with-random-pointer
138-copy-list-with-random-pointer
1381-design-a-stack-with-increment-operation
1381-design-a-stack-with-increment-operation
1383-maximum-performance-of-a-team
1383-maximum-performance-of-a-team
139-word-break
139-word-break
14-longest-common-prefix
14-longest-common-prefix
141-linked-list-cycle
141-linked-list-cycle
142-linked-list-cycle-ii
142-linked-list-cycle-ii
1423-maximum-points-you-can-obtain-from-cards
1423-maximum-points-you-can-obtain-from-cards
144-binary-tree-preorder-traversal
144-binary-tree-preorder-traversal
1448-count-good-nodes-in-binary-tree
1448-count-good-nodes-in-binary-tree
1457-pseudo-palindromic-paths-in-a-binary-tree
1457-pseudo-palindromic-paths-in-a-binary-tree
146-lru-cache
146-lru-cache
1461-check-if-a-string-contains-all-binary-codes-of-size-k
1461-check-if-a-string-contains-all-binary-codes-of-size-k
1463-Cherry-Pickup-II
1463-Cherry-Pickup-II
1465-maximum-area-of-a-piece-of-cake-after-horizontal-and-vertical-cuts
1465-maximum-area-of-a-piece-of-cake-after-horizontal-and-vertical-cuts
1470-shuffle-the-array
1470-shuffle-the-array
1472-design-browser-history
1472-design-browser-history
148-sort-list
148-sort-list
1480. Running Sum of 1d Array
1480. Running Sum of 1d Array
1510-stone-game-iv
1510-stone-game-iv
153-find-minimum-in-rotated-sorted-array
153-find-minimum-in-rotated-sorted-array
154-find-minimum-in-rotated-sorted-array-ii
154-find-minimum-in-rotated-sorted-array-ii
155-min-stack
155-min-stack
1552-magnetic-force-between-two-balls
1552-magnetic-force-between-two-balls
1578-minimum-time-to-make-rope-colorful
1578-minimum-time-to-make-rope-colorful
16-3sum-closest
16-3sum-closest
160-intersection-of-two-linked-lists
160-intersection-of-two-linked-lists
162-find-peak-element
162-find-peak-element
165-compare-version-numbers
165-compare-version-numbers
1656-design-an-ordered-stream
1656-design-an-ordered-stream
1672-richest-customer-wealth
1672-richest-customer-wealth
1675-minimize-deviation-in-array
1675-minimize-deviation-in-array
1680-concatenation-of-consecutive-binary-numbers
1680-concatenation-of-consecutive-binary-numbers
169-majority-element
169-majority-element
171-excel-sheet-column-number
171-excel-sheet-column-number
1760-minimum-limit-of-balls-in-a-bag
1760-minimum-limit-of-balls-in-a-bag
1770-maximum-score-from-performing-multiplication-operations
1770-maximum-score-from-performing-multiplication-operations
179-largest-number
179-largest-number
18-4sum
18-4sum
View all files
Repository files navigation
README
Contributing
More
items
Open to Contribute
Contributors:
\
About
Contribute on this repository with valid pull request
Topics
cpp
dsa
java
leetcode
leetcode-solutions
problemsolving
Resources
Readme
Contributing
Contributing
Activity
Stars
27
stars
Watchers
1
watching
Forks
53
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.