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 }}
aayushrajj
/
DSA
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
2,292 Commits
2,292 Commits
Folders and files
Name
Name
Last commit message
Last commit date
0028-find-the-index-of-the-first-occurrence-in-a-string
0028-find-the-index-of-the-first-occurrence-in-a-string
0079-word-search
0079-word-search
0131-palindrome-partitioning
0131-palindrome-partitioning
0139-word-break
0139-word-break
0169-majority-element
0169-majority-element
0175-combine-two-tables
0175-combine-two-tables
0208-implement-trie-prefix-tree
0208-implement-trie-prefix-tree
0211-design-add-and-search-words-data-structure
0211-design-add-and-search-words-data-structure
0212-word-search-ii
0212-word-search-ii
0315-count-of-smaller-numbers-after-self
0315-count-of-smaller-numbers-after-self
0327-count-of-range-sum
0327-count-of-range-sum
0371-sum-of-two-integers
0371-sum-of-two-integers
0386-lexicographical-numbers
0386-lexicographical-numbers
0417-pacific-atlantic-water-flow
0417-pacific-atlantic-water-flow
0459-repeated-substring-pattern
0459-repeated-substring-pattern
0460-lfu-cache
0460-lfu-cache
0493-reverse-pairs
0493-reverse-pairs
0673-number-of-longest-increasing-subsequence
0673-number-of-longest-increasing-subsequence
0674-longest-continuous-increasing-subsequence
0674-longest-continuous-increasing-subsequence
0795-number-of-subarrays-with-bounded-maximum
0795-number-of-subarrays-with-bounded-maximum
0907-sum-of-subarray-minimums
0907-sum-of-subarray-minimums
100-same-tree
100-same-tree
1002-find-common-characters
1002-find-common-characters
1005-maximize-sum-of-array-after-k-negations
1005-maximize-sum-of-array-after-k-negations
101-symmetric-tree
101-symmetric-tree
1011-capacity-to-ship-packages-within-d-days
1011-capacity-to-ship-packages-within-d-days
1013-partition-array-into-three-parts-with-equal-sum
1013-partition-array-into-three-parts-with-equal-sum
102-binary-tree-level-order-traversal
102-binary-tree-level-order-traversal
1021-remove-outermost-parentheses
1021-remove-outermost-parentheses
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
1046-last-stone-weight
1046-last-stone-weight
1048-longest-string-chain
1048-longest-string-chain
105-construct-binary-tree-from-preorder-and-inorder-traversal
105-construct-binary-tree-from-preorder-and-inorder-traversal
106-construct-binary-tree-from-inorder-and-postorder-traversal
106-construct-binary-tree-from-inorder-and-postorder-traversal
107-binary-tree-level-order-traversal-ii
107-binary-tree-level-order-traversal-ii
108-convert-sorted-array-to-binary-search-tree
108-convert-sorted-array-to-binary-search-tree
1091-shortest-path-in-binary-matrix
1091-shortest-path-in-binary-matrix
1094-car-pooling
1094-car-pooling
1095-find-in-mountain-array
1095-find-in-mountain-array
11-container-with-most-water
11-container-with-most-water
112-path-sum
112-path-sum
1122-relative-sort-array
1122-relative-sort-array
1128-number-of-equivalent-domino-pairs
1128-number-of-equivalent-domino-pairs
113-path-sum-ii
113-path-sum-ii
114-flatten-binary-tree-to-linked-list
114-flatten-binary-tree-to-linked-list
115-distinct-subsequences
115-distinct-subsequences
1160-find-words-that-can-be-formed-by-characters
1160-find-words-that-can-be-formed-by-characters
1162-as-far-from-land-as-possible
1162-as-far-from-land-as-possible
118-pascals-triangle
118-pascals-triangle
119-pascals-triangle-ii
119-pascals-triangle-ii
1190-reverse-substrings-between-each-pair-of-parentheses
1190-reverse-substrings-between-each-pair-of-parentheses
120-triangle
120-triangle
1207-unique-number-of-occurrences
1207-unique-number-of-occurrences
1208-get-equal-substrings-within-budget
1208-get-equal-substrings-within-budget
121-best-time-to-buy-and-sell-stock
121-best-time-to-buy-and-sell-stock
1235-maximum-profit-in-job-scheduling
1235-maximum-profit-in-job-scheduling
124-binary-tree-maximum-path-sum
124-binary-tree-maximum-path-sum
1248-count-number-of-nice-subarrays
1248-count-number-of-nice-subarrays
1249-minimum-remove-to-make-valid-parentheses
1249-minimum-remove-to-make-valid-parentheses
125-valid-palindrome
125-valid-palindrome
1254-number-of-closed-islands
1254-number-of-closed-islands
126-word-ladder-ii
126-word-ladder-ii
1260-shift-2d-grid
1260-shift-2d-grid
1267-count-servers-that-communicate
1267-count-servers-that-communicate
127-word-ladder
127-word-ladder
1278-palindrome-partitioning-iii
1278-palindrome-partitioning-iii
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
129-sum-root-to-leaf-numbers
129-sum-root-to-leaf-numbers
13-roman-to-integer
13-roman-to-integer
130-surrounded-regions
130-surrounded-regions
1302-deepest-leaves-sum
1302-deepest-leaves-sum
1304-find-n-unique-integers-sum-up-to-zero
1304-find-n-unique-integers-sum-up-to-zero
1305-all-elements-in-two-binary-search-trees
1305-all-elements-in-two-binary-search-trees
131-palindrome-partitioning
131-palindrome-partitioning
1312-minimum-insertion-steps-to-make-a-string-palindrome
1312-minimum-insertion-steps-to-make-a-string-palindrome
1318-minimum-flips-to-make-a-or-b-equal-to-c
1318-minimum-flips-to-make-a-or-b-equal-to-c
132-palindrome-partitioning-ii
132-palindrome-partitioning-ii
1329-sort-the-matrix-diagonally
1329-sort-the-matrix-diagonally
133-clone-graph
133-clone-graph
1331-rank-transform-of-an-array
1331-rank-transform-of-an-array
1332-remove-palindromic-subsequences
1332-remove-palindromic-subsequences
1334-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
1334-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
1337-the-k-weakest-rows-in-a-matrix
1337-the-k-weakest-rows-in-a-matrix
1338-reduce-array-size-to-the-half
1338-reduce-array-size-to-the-half
1339-maximum-product-of-splitted-binary-tree
1339-maximum-product-of-splitted-binary-tree
1342-number-of-steps-to-reduce-a-number-to-zero
1342-number-of-steps-to-reduce-a-number-to-zero
1351-count-negative-numbers-in-a-sorted-matrix
1351-count-negative-numbers-in-a-sorted-matrix
1358-number-of-substrings-containing-all-three-characters
1358-number-of-substrings-containing-all-three-characters
136-single-number
136-single-number
1376-time-needed-to-inform-all-employees
1376-time-needed-to-inform-all-employees
1379-find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
1379-find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
138-copy-list-with-random-pointer
138-copy-list-with-random-pointer
1380-lucky-numbers-in-a-matrix
1380-lucky-numbers-in-a-matrix
141-linked-list-cycle
141-linked-list-cycle
1423-maximum-points-you-can-obtain-from-cards
1423-maximum-points-you-can-obtain-from-cards
View all files
Repository files navigation
README
More
items
DSA
Data Structures and Algorithms. Leetcode problems!
About
Data Structures and Algorithms Problems
Resources
Readme
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Used by
Contributors
Languages
You can’t perform that action at this time.