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 }}
arjunmehtaa
LeetCode-Solutions
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
LeetCode-Solutions
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
0
(
0
)
You must be signed in to star a repository
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
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
3,026 Commits
3,026 Commits
Folders and files
Name
Name
Last commit message
Last commit date
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.