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 }}
msksaul
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
0
(
0
)
You must be signed in to star a repository
About
Coding solutions for LeetCode programming exercises.
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
301 Commits
301 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1-two-sum
1-two-sum
100-same-tree
100-same-tree
101-symmetric-tree
101-symmetric-tree
1013-fibonacci-number
1013-fibonacci-number
1014-k-closest-points-to-origin
1014-k-closest-points-to-origin
1019-squares-of-a-sorted-array
1019-squares-of-a-sorted-array
102-binary-tree-level-order-traversal
102-binary-tree-level-order-traversal
1036-rotting-oranges
1036-rotting-oranges
104-maximum-depth-of-binary-tree
104-maximum-depth-of-binary-tree
1046-max-consecutive-ones-iii
1046-max-consecutive-ones-iii
11-container-with-most-water
11-container-with-most-water
110-balanced-binary-tree
110-balanced-binary-tree
112-path-sum
112-path-sum
1127-last-stone-weight
1127-last-stone-weight
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
125-valid-palindrome
125-valid-palindrome
1250-longest-common-subsequence
1250-longest-common-subsequence
128-longest-consecutive-sequence
128-longest-consecutive-sequence
1297-maximum-number-of-balloons
1297-maximum-number-of-balloons
13-roman-to-integer
13-roman-to-integer
133-clone-graph
133-clone-graph
138-copy-list-with-random-pointer
138-copy-list-with-random-pointer
14-longest-common-prefix
14-longest-common-prefix
141-linked-list-cycle
141-linked-list-cycle
146-lru-cache
146-lru-cache
15-3sum
15-3sum
150-evaluate-reverse-polish-notation
150-evaluate-reverse-polish-notation
153-find-minimum-in-rotated-sorted-array
153-find-minimum-in-rotated-sorted-array
155-min-stack
155-min-stack
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
1706-min-cost-to-connect-all-points
1706-min-cost-to-connect-all-points
1894-merge-strings-alternately
1894-merge-strings-alternately
19-remove-nth-node-from-end-of-list
19-remove-nth-node-from-end-of-list
198-house-robber
198-house-robber
20-valid-parentheses
20-valid-parentheses
200-number-of-islands
200-number-of-islands
206-reverse-linked-list
206-reverse-linked-list
207-course-schedule
207-course-schedule
208-implement-trie-prefix-tree
208-implement-trie-prefix-tree
209-minimum-size-subarray-sum
209-minimum-size-subarray-sum
21-merge-two-sorted-lists
21-merge-two-sorted-lists
210-course-schedule-ii
210-course-schedule-ii
2121-find-if-path-exists-in-graph
2121-find-if-path-exists-in-graph
215-kth-largest-element-in-an-array
215-kth-largest-element-in-an-array
217-contains-duplicate
217-contains-duplicate
22-generate-parentheses
22-generate-parentheses
226-invert-binary-tree
226-invert-binary-tree
228-summary-ranges
228-summary-ranges
23-merge-k-sorted-lists
23-merge-k-sorted-lists
230-kth-smallest-element-in-a-bst
230-kth-smallest-element-in-a-bst
235-lowest-common-ancestor-of-a-binary-search-tree
235-lowest-common-ancestor-of-a-binary-search-tree
2350-find-closest-number-to-zero
2350-find-closest-number-to-zero
238-product-of-array-except-self
238-product-of-array-except-self
239-sliding-window-maximum
239-sliding-window-maximum
242-valid-anagram
242-valid-anagram
26-remove-duplicates-from-sorted-array
26-remove-duplicates-from-sorted-array
27-remove-element
27-remove-element
278-first-bad-version
278-first-bad-version
287-find-the-duplicate-number
287-find-the-duplicate-number
3-longest-substring-without-repeating-characters
3-longest-substring-without-repeating-characters
300-longest-increasing-subsequence
300-longest-increasing-subsequence
322-coin-change
322-coin-change
33-search-in-rotated-sorted-array
33-search-in-rotated-sorted-array
344-reverse-string
344-reverse-string
347-top-k-frequent-elements
347-top-k-frequent-elements
35-search-insert-position
35-search-insert-position
36-valid-sudoku
36-valid-sudoku
367-valid-perfect-square
367-valid-perfect-square
383-ransom-note
383-ransom-note
39-combination-sum
39-combination-sum
392-is-subsequence
392-is-subsequence
417-pacific-atlantic-water-flow
417-pacific-atlantic-water-flow
42-trapping-rain-water
42-trapping-rain-water
424-longest-repeating-character-replacement
424-longest-repeating-character-replacement
46-permutations
46-permutations
48-rotate-image
48-rotate-image
49-group-anagrams
49-group-anagrams
53-maximum-subarray
53-maximum-subarray
530-minimum-absolute-difference-in-bst
530-minimum-absolute-difference-in-bst
54-spiral-matrix
54-spiral-matrix
543-diameter-of-binary-tree
543-diameter-of-binary-tree
55-jump-game
55-jump-game
56-merge-intervals
56-merge-intervals
567-permutation-in-string
567-permutation-in-string
572-subtree-of-another-tree
572-subtree-of-another-tree
62-unique-paths
62-unique-paths
643-maximum-average-subarray-i
643-maximum-average-subarray-i
682-baseball-game
682-baseball-game
695-max-area-of-island
695-max-area-of-island
70-climbing-stairs
70-climbing-stairs
739-daily-temperatures
739-daily-temperatures
74-search-a-2d-matrix
74-search-a-2d-matrix
744-network-delay-time
744-network-delay-time
747-min-cost-climbing-stairs
747-min-cost-climbing-stairs
76-minimum-window-substring
76-minimum-window-substring
77-combinations
77-combinations
78-subsets
78-subsets
View all files
About
Coding solutions for LeetCode programming exercises.
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.