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 }}
amanlaiq
/
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
861 Commits
861 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1-two-sum
1-two-sum
10-regular-expression-matching
10-regular-expression-matching
100-same-tree
100-same-tree
1014-k-closest-points-to-origin
1014-k-closest-points-to-origin
102-binary-tree-level-order-traversal
102-binary-tree-level-order-traversal
1023-time-based-key-value-store
1023-time-based-key-value-store
1036-rotting-oranges
1036-rotting-oranges
1039-find-the-town-judge
1039-find-the-town-judge
104-maximum-depth-of-binary-tree
104-maximum-depth-of-binary-tree
105-construct-binary-tree-from-preorder-and-inorder-traversal
105-construct-binary-tree-from-preorder-and-inorder-traversal
1056-capacity-to-ship-packages-within-d-days
1056-capacity-to-ship-packages-within-d-days
11-container-with-most-water
11-container-with-most-water
110-balanced-binary-tree
110-balanced-binary-tree
115-distinct-subsequences
115-distinct-subsequences
116-populating-next-right-pointers-in-each-node
116-populating-next-right-pointers-in-each-node
117-populating-next-right-pointers-in-each-node-ii
117-populating-next-right-pointers-in-each-node-ii
1184-car-pooling
1184-car-pooling
121-best-time-to-buy-and-sell-stock
121-best-time-to-buy-and-sell-stock
122-best-time-to-buy-and-sell-stock-ii
122-best-time-to-buy-and-sell-stock-ii
124-binary-tree-maximum-path-sum
124-binary-tree-maximum-path-sum
125-valid-palindrome
125-valid-palindrome
1250-longest-common-subsequence
1250-longest-common-subsequence
127-word-ladder
127-word-ladder
128-longest-consecutive-sequence
128-longest-consecutive-sequence
130-surrounded-regions
130-surrounded-regions
1304-longest-happy-string
1304-longest-happy-string
131-palindrome-partitioning
131-palindrome-partitioning
1352-maximum-profit-in-job-scheduling
1352-maximum-profit-in-job-scheduling
138-copy-list-with-random-pointer
138-copy-list-with-random-pointer
1382-calculate-amount-paid-in-taxes
1382-calculate-amount-paid-in-taxes
139-word-break
139-word-break
14-longest-common-prefix
14-longest-common-prefix
143-reorder-list
143-reorder-list
144-binary-tree-preorder-traversal
144-binary-tree-preorder-traversal
1450-delete-leaves-with-a-given-value
1450-delete-leaves-with-a-given-value
146-lru-cache
146-lru-cache
15-3sum
15-3sum
150-evaluate-reverse-polish-notation
150-evaluate-reverse-polish-notation
152-maximum-product-subarray
152-maximum-product-subarray
153-find-minimum-in-rotated-sorted-array
153-find-minimum-in-rotated-sorted-array
1544-count-good-nodes-in-binary-tree
1544-count-good-nodes-in-binary-tree
1558-course-schedule-iv
1558-course-schedule-iv
167-two-sum-ii-input-array-is-sorted
167-two-sum-ii-input-array-is-sorted
169-majority-element
169-majority-element
17-letter-combinations-of-a-phone-number
17-letter-combinations-of-a-phone-number
1753-path-with-minimum-effort
1753-path-with-minimum-effort
18-4sum
18-4sum
189-rotate-array
189-rotate-array
1894-merge-strings-alternately
1894-merge-strings-alternately
19-remove-nth-node-from-end-of-list
19-remove-nth-node-from-end-of-list
1962-single-threaded-cpu
1962-single-threaded-cpu
198-house-robber
198-house-robber
199-binary-tree-right-side-view
199-binary-tree-right-side-view
1993-sum-of-all-subset-xor-totals
1993-sum-of-all-subset-xor-totals
2-add-two-numbers
2-add-two-numbers
20-valid-parentheses
20-valid-parentheses
200-number-of-islands
200-number-of-islands
2058-concatenation-of-array
2058-concatenation-of-array
206-reverse-linked-list
206-reverse-linked-list
207-course-schedule
207-course-schedule
21-merge-two-sorted-lists
21-merge-two-sorted-lists
210-course-schedule-ii
210-course-schedule-ii
211-design-add-and-search-words-data-structure
211-design-add-and-search-words-data-structure
213-house-robber-ii
213-house-robber-ii
215-kth-largest-element-in-an-array
215-kth-largest-element-in-an-array
2165-plates-between-candles
2165-plates-between-candles
217-contains-duplicate
217-contains-duplicate
2176-parallel-courses-iii
2176-parallel-courses-iii
219-contains-duplicate-ii
219-contains-duplicate-ii
22-generate-parentheses
22-generate-parentheses
224-basic-calculator
224-basic-calculator
225-implement-stack-using-queues
225-implement-stack-using-queues
226-invert-binary-tree
226-invert-binary-tree
227-basic-calculator-ii
227-basic-calculator-ii
229-majority-element-ii
229-majority-element-ii
23-merge-k-sorted-lists
23-merge-k-sorted-lists
230-kth-smallest-element-in-a-bst
230-kth-smallest-element-in-a-bst
2324-find-triangular-sum-of-an-array
2324-find-triangular-sum-of-an-array
235-lowest-common-ancestor-of-a-binary-search-tree
235-lowest-common-ancestor-of-a-binary-search-tree
2373-apply-discount-to-prices
2373-apply-discount-to-prices
238-product-of-array-except-self
238-product-of-array-except-self
239-sliding-window-maximum
239-sliding-window-maximum
24-swap-nodes-in-pairs
24-swap-nodes-in-pairs
242-valid-anagram
242-valid-anagram
2463-minimum-recolors-to-get-k-consecutive-black-blocks
2463-minimum-recolors-to-get-k-consecutive-black-blocks
25-reverse-nodes-in-k-group
25-reverse-nodes-in-k-group
2551-apply-operations-to-an-array
2551-apply-operations-to-an-array
26-remove-duplicates-from-sorted-array
26-remove-duplicates-from-sorted-array
27-remove-element
27-remove-element
271-encode-and-decode-strings
271-encode-and-decode-strings
273-integer-to-english-words
273-integer-to-english-words
2808-painting-the-walls
2808-painting-the-walls
287-find-the-duplicate-number
287-find-the-duplicate-number
2919-maximum-number-of-groups-with-increasing-length
2919-maximum-number-of-groups-with-increasing-length
295-find-median-from-data-stream
295-find-median-from-data-stream
297-serialize-and-deserialize-binary-tree
297-serialize-and-deserialize-binary-tree
3-longest-substring-without-repeating-characters
3-longest-substring-without-repeating-characters
300-longest-increasing-subsequence
300-longest-increasing-subsequence
304-range-sum-query-2d-immutable
304-range-sum-query-2d-immutable
309-best-time-to-buy-and-sell-stock-with-cooldown
309-best-time-to-buy-and-sell-stock-with-cooldown
View all files
About
Solved Leetcode questions
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.