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
Accelerator
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
Type
/
to 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 }}
arjunmehtaa
/
LeetCode-Solutions
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
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
3,026 Commits
3,026 Commits
0001-two-sum
0001-two-sum
0003-longest-substring-without-repeating-characters
0003-longest-substring-without-repeating-characters
0005-longest-palindromic-substring
0005-longest-palindromic-substring
0011-container-with-most-water
0011-container-with-most-water
0015-3sum
0015-3sum
0019-remove-nth-node-from-end-of-list
0019-remove-nth-node-from-end-of-list
0020-valid-parentheses
0020-valid-parentheses
0021-merge-two-sorted-lists
0021-merge-two-sorted-lists
0023-merge-k-sorted-lists
0023-merge-k-sorted-lists
0033-search-in-rotated-sorted-array
0033-search-in-rotated-sorted-array
0042-trapping-rain-water
0042-trapping-rain-water
0048-rotate-image
0048-rotate-image
0049-group-anagrams
0049-group-anagrams
0053-maximum-subarray
0053-maximum-subarray
0054-spiral-matrix
0054-spiral-matrix
0055-jump-game
0055-jump-game
0056-merge-intervals
0056-merge-intervals
0057-insert-interval
0057-insert-interval
0062-unique-paths
0062-unique-paths
0070-climbing-stairs
0070-climbing-stairs
0073-set-matrix-zeroes
0073-set-matrix-zeroes
0076-minimum-window-substring
0076-minimum-window-substring
0079-word-search
0079-word-search
0091-decode-ways
0091-decode-ways
0098-validate-binary-search-tree
0098-validate-binary-search-tree
0100-same-tree
0100-same-tree
0102-binary-tree-level-order-traversal
0102-binary-tree-level-order-traversal
0104-maximum-depth-of-binary-tree
0104-maximum-depth-of-binary-tree
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0121-best-time-to-buy-and-sell-stock
0121-best-time-to-buy-and-sell-stock
0124-binary-tree-maximum-path-sum
0124-binary-tree-maximum-path-sum
0125-valid-palindrome
0125-valid-palindrome
0128-longest-consecutive-sequence
0128-longest-consecutive-sequence
0133-clone-graph
0133-clone-graph
0139-word-break
0139-word-break
0141-linked-list-cycle
0141-linked-list-cycle
0143-reorder-list
0143-reorder-list
0146-lru-cache
0146-lru-cache
0152-maximum-product-subarray
0152-maximum-product-subarray
0153-find-minimum-in-rotated-sorted-array
0153-find-minimum-in-rotated-sorted-array
0190-reverse-bits
0190-reverse-bits
0191-number-of-1-bits
0191-number-of-1-bits
0198-house-robber
0198-house-robber
0200-number-of-islands
0200-number-of-islands
0206-reverse-linked-list
0206-reverse-linked-list
0207-course-schedule
0207-course-schedule
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
0213-house-robber-ii
0213-house-robber-ii
0217-contains-duplicate
0217-contains-duplicate
0226-invert-binary-tree
0226-invert-binary-tree
0230-kth-smallest-element-in-a-bst
0230-kth-smallest-element-in-a-bst
0235-lowest-common-ancestor-of-a-binary-search-tree
0235-lowest-common-ancestor-of-a-binary-search-tree
0238-product-of-array-except-self
0238-product-of-array-except-self
0242-valid-anagram
0242-valid-anagram
0268-missing-number
0268-missing-number
0300-longest-increasing-subsequence
0300-longest-increasing-subsequence
0322-coin-change
0322-coin-change
0338-counting-bits
0338-counting-bits
0371-sum-of-two-integers
0371-sum-of-two-integers
0377-combination-sum-iv
0377-combination-sum-iv
0417-pacific-atlantic-water-flow
0417-pacific-atlantic-water-flow
0424-longest-repeating-character-replacement
0424-longest-repeating-character-replacement
0435-non-overlapping-intervals
0435-non-overlapping-intervals
0572-subtree-of-another-tree
0572-subtree-of-another-tree
0647-palindromic-substrings
0647-palindromic-substrings
0844-backspace-string-compare
0844-backspace-string-compare
1-two-sum
1-two-sum
100-same-tree
100-same-tree
102-binary-tree-level-order-traversal
102-binary-tree-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
105-construct-binary-tree-from-preorder-and-inorder-traversal
105-construct-binary-tree-from-preorder-and-inorder-traversal
11-container-with-most-water
11-container-with-most-water
1108-defanging-an-ip-address
1108-defanging-an-ip-address
1143-longest-common-subsequence
1143-longest-common-subsequence
121-best-time-to-buy-and-sell-stock
121-best-time-to-buy-and-sell-stock
124-binary-tree-maximum-path-sum
124-binary-tree-maximum-path-sum
1249-minimum-remove-to-make-valid-parentheses
1249-minimum-remove-to-make-valid-parentheses
125-valid-palindrome
125-valid-palindrome
128-longest-consecutive-sequence
128-longest-consecutive-sequence
133-clone-graph
133-clone-graph
1376-time-needed-to-inform-all-employees
1376-time-needed-to-inform-all-employees
139-word-break
139-word-break
141-linked-list-cycle
141-linked-list-cycle
142-linked-list-cycle-ii
142-linked-list-cycle-ii
143-reorder-list
143-reorder-list
146-lru-cache
146-lru-cache
15-3sum
15-3sum
152-maximum-product-subarray
152-maximum-product-subarray
153-find-minimum-in-rotated-sorted-array
153-find-minimum-in-rotated-sorted-array
1539-kth-missing-positive-number
1539-kth-missing-positive-number
155-min-stack
155-min-stack
1689-partitioning-into-minimum-number-of-deci-binary-numbers
1689-partitioning-into-minimum-number-of-deci-binary-numbers
17-letter-combinations-of-a-phone-number
17-letter-combinations-of-a-phone-number
1710-maximum-units-on-a-truck
1710-maximum-units-on-a-truck
19-remove-nth-node-from-end-of-list
19-remove-nth-node-from-end-of-list
190-reverse-bits
190-reverse-bits
191-number-of-1-bits
191-number-of-1-bits
198-house-robber
198-house-robber
View all files
Repository files navigation
README
More
items
LeetCode-Problems
Solutions to LeetCode problems.
About
Solutions to LeetCode problems.
Topics
algorithms
cpp
data-structures
java
leetcode
leetcode-solutions
python
python-3
python3
Resources
Readme
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.