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 }}
asthanegi14
Leetcode
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
7
(
7
)
You must be signed in to star a repository
About
Solutions of all type of Leetcode questions
Topics
algorithm
interview-questions
java
leetcode-solutions
leetcode-study-plan
Resources
Readme
Activity
Stars
7
stars
Watchers
1
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
1,382 Commits
1,382 Commits
Folders and files
Name
Name
Last commit message
Last commit date
0006-zigzag-conversion
0006-zigzag-conversion
0016-3sum-closest
0016-3sum-closest
0019-remove-nth-node-from-end-of-list
0019-remove-nth-node-from-end-of-list
0020-valid-parentheses
0020-valid-parentheses
0022-generate-parentheses
0022-generate-parentheses
0041-first-missing-positive
0041-first-missing-positive
0042-trapping-rain-water
0042-trapping-rain-water
0046-permutations
0046-permutations
0049-group-anagrams
0049-group-anagrams
0050-powx-n
0050-powx-n
0053-maximum-subarray
0053-maximum-subarray
0057-insert-interval
0057-insert-interval
0058-length-of-last-word
0058-length-of-last-word
0063-unique-paths-ii
0063-unique-paths-ii
0070-climbing-stairs
0070-climbing-stairs
0072-edit-distance
0072-edit-distance
0073-set-matrix-zeroes
0073-set-matrix-zeroes
0074-search-a-2d-matrix
0074-search-a-2d-matrix
0075-sort-colors
0075-sort-colors
0076-minimum-window-substring
0076-minimum-window-substring
0078-subsets
0078-subsets
0079-word-search
0079-word-search
0081-search-in-rotated-sorted-array-ii
0081-search-in-rotated-sorted-array-ii
0086-partition-list
0086-partition-list
0091-decode-ways
0091-decode-ways
0094-binary-tree-inorder-traversal
0094-binary-tree-inorder-traversal
0095-unique-binary-search-trees-ii
0095-unique-binary-search-trees-ii
0100-same-tree
0100-same-tree
0103-binary-tree-zigzag-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0121-best-time-to-buy-and-sell-stock
0121-best-time-to-buy-and-sell-stock
0129-sum-root-to-leaf-numbers
0129-sum-root-to-leaf-numbers
0131-palindrome-partitioning
0131-palindrome-partitioning
0139-word-break
0139-word-break
0140-word-break-ii
0140-word-break-ii
0141-linked-list-cycle
0141-linked-list-cycle
0143-reorder-list
0143-reorder-list
0150-evaluate-reverse-polish-notation
0150-evaluate-reverse-polish-notation
0165-compare-version-numbers
0165-compare-version-numbers
0169-majority-element
0169-majority-element
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
0201-bitwise-and-of-numbers-range
0201-bitwise-and-of-numbers-range
0205-isomorphic-strings
0205-isomorphic-strings
0206-reverse-linked-list
0206-reverse-linked-list
0215-kth-largest-element-in-an-array
0215-kth-largest-element-in-an-array
0222-count-complete-tree-nodes
0222-count-complete-tree-nodes
0231-power-of-two
0231-power-of-two
0232-implement-queue-using-stacks
0232-implement-queue-using-stacks
0234-palindrome-linked-list
0234-palindrome-linked-list
0237-delete-node-in-a-linked-list
0237-delete-node-in-a-linked-list
0239-sliding-window-maximum
0239-sliding-window-maximum
0242-valid-anagram
0242-valid-anagram
0257-binary-tree-paths
0257-binary-tree-paths
0260-single-number-iii
0260-single-number-iii
0268-missing-number
0268-missing-number
0279-perfect-squares
0279-perfect-squares
0287-find-the-duplicate-number
0287-find-the-duplicate-number
0300-longest-increasing-subsequence
0300-longest-increasing-subsequence
0310-minimum-height-trees
0310-minimum-height-trees
0338-counting-bits
0338-counting-bits
0344-reverse-string
0344-reverse-string
0349-intersection-of-two-arrays
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii
0350-intersection-of-two-arrays-ii
0368-largest-divisible-subset
0368-largest-divisible-subset
0380-insert-delete-getrandom-o1
0380-insert-delete-getrandom-o1
0387-first-unique-character-in-a-string
0387-first-unique-character-in-a-string
0402-remove-k-digits
0402-remove-k-digits
0404-sum-of-left-leaves
0404-sum-of-left-leaves
0409-longest-palindrome
0409-longest-palindrome
0442-find-all-duplicates-in-an-array
0442-find-all-duplicates-in-an-array
0446-arithmetic-slices-ii-subsequence
0446-arithmetic-slices-ii-subsequence
0451-sort-characters-by-frequency
0451-sort-characters-by-frequency
0452-minimum-number-of-arrows-to-burst-balloons
0452-minimum-number-of-arrows-to-burst-balloons
0455-assign-cookies
0455-assign-cookies
0459-repeated-substring-pattern
0459-repeated-substring-pattern
0463-island-perimeter
0463-island-perimeter
0476-number-complement
0476-number-complement
0486-predict-the-winner
0486-predict-the-winner
0500-keyboard-row
0500-keyboard-row
0506-relative-ranks
0506-relative-ranks
0513-find-bottom-left-tree-value
0513-find-bottom-left-tree-value
0514-freedom-trail
0514-freedom-trail
0518-coin-change-ii
0518-coin-change-ii
0521-longest-uncommon-subsequence-i
0521-longest-uncommon-subsequence-i
0523-continuous-subarray-sum
0523-continuous-subarray-sum
0525-contiguous-array
0525-contiguous-array
0532-k-diff-pairs-in-an-array
0532-k-diff-pairs-in-an-array
0542-01-matrix
0542-01-matrix
0543-diameter-of-binary-tree
0543-diameter-of-binary-tree
0570-managers-with-at-least-5-direct-reports
0570-managers-with-at-least-5-direct-reports
0576-out-of-boundary-paths
0576-out-of-boundary-paths
0590-n-ary-tree-postorder-traversal
0590-n-ary-tree-postorder-traversal
0599-minimum-index-sum-of-two-lists
0599-minimum-index-sum-of-two-lists
0606-construct-string-from-binary-tree
0606-construct-string-from-binary-tree
0620-not-boring-movies
0620-not-boring-movies
0621-task-scheduler
0621-task-scheduler
0623-add-one-row-to-tree
0623-add-one-row-to-tree
0629-k-inverse-pairs-array
0629-k-inverse-pairs-array
View all files
Repository files navigation
README
More
items
Leetcode
About
Solutions of all type of Leetcode questions
Topics
algorithm
interview-questions
java
leetcode-solutions
leetcode-study-plan
Resources
Readme
Activity
Stars
7
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.