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 }}
jy7lsna
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
No description, website, or topics provided.
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
699 Commits
699 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1-two-sum
1-two-sum
100-same-tree
100-same-tree
1013-fibonacci-number
1013-fibonacci-number
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
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
107-binary-tree-level-order-traversal-ii
107-binary-tree-level-order-traversal-ii
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
1153-product-sales-analysis-i
1153-product-sales-analysis-i
1171-shortest-path-in-binary-matrix
1171-shortest-path-in-binary-matrix
121-best-time-to-buy-and-sell-stock
121-best-time-to-buy-and-sell-stock
125-valid-palindrome
125-valid-palindrome
1250-longest-common-subsequence
1250-longest-common-subsequence
1258-article-views-i
1258-article-views-i
128-longest-consecutive-sequence
128-longest-consecutive-sequence
130-surrounded-regions
130-surrounded-regions
131-palindrome-partitioning
131-palindrome-partitioning
133-clone-graph
133-clone-graph
134-gas-station
134-gas-station
136-single-number
136-single-number
138-copy-list-with-random-pointer
138-copy-list-with-random-pointer
141-linked-list-cycle
141-linked-list-cycle
1415-students-and-examinations
1415-students-and-examinations
143-reorder-list
143-reorder-list
146-lru-cache
146-lru-cache
15-3sum
15-3sum
150-evaluate-reverse-polish-notation
150-evaluate-reverse-polish-notation
1509-replace-employee-id-with-the-unique-identifier
1509-replace-employee-id-with-the-unique-identifier
1510-find-lucky-integer-in-an-array
1510-find-lucky-integer-in-an-array
153-find-minimum-in-rotated-sorted-array
153-find-minimum-in-rotated-sorted-array
155-min-stack
155-min-stack
1580-shuffle-the-array
1580-shuffle-the-array
1582-design-browser-history
1582-design-browser-history
162-find-peak-element
162-find-peak-element
167-two-sum-ii-input-array-is-sorted
167-two-sum-ii-input-array-is-sorted
17-letter-combinations-of-a-phone-number
17-letter-combinations-of-a-phone-number
1724-customer-who-visited-but-did-not-make-any-transactions
1724-customer-who-visited-but-did-not-make-any-transactions
1801-average-time-of-process-per-machine
1801-average-time-of-process-per-machine
1802-number-of-students-unable-to-eat-lunch
1802-number-of-students-unable-to-eat-lunch
19-remove-nth-node-from-end-of-list
19-remove-nth-node-from-end-of-list
1908-recyclable-and-low-fat-products
1908-recyclable-and-low-fat-products
191-number-of-1-bits
191-number-of-1-bits
197-rising-temperature
197-rising-temperature
198-house-robber
198-house-robber
199-binary-tree-right-side-view
199-binary-tree-right-side-view
2-add-two-numbers
2-add-two-numbers
20-valid-parentheses
20-valid-parentheses
200-number-of-islands
200-number-of-islands
202-happy-number
202-happy-number
2026-merge-triplets-to-form-target-triplet
2026-merge-triplets-to-form-target-triplet
2058-concatenation-of-array
2058-concatenation-of-array
206-reverse-linked-list
206-reverse-linked-list
207-course-schedule
207-course-schedule
208-implement-trie-prefix-tree
208-implement-trie-prefix-tree
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
217-contains-duplicate
217-contains-duplicate
22-generate-parentheses
22-generate-parentheses
225-implement-stack-using-queues
225-implement-stack-using-queues
226-invert-binary-tree
226-invert-binary-tree
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
238-product-of-array-except-self
238-product-of-array-except-self
242-valid-anagram
242-valid-anagram
25-reverse-nodes-in-k-group
25-reverse-nodes-in-k-group
2552-maximum-sum-of-distinct-subarrays-with-length-k
2552-maximum-sum-of-distinct-subarrays-with-length-k
26-remove-duplicates-from-sorted-array
26-remove-duplicates-from-sorted-array
27-remove-element
27-remove-element
2731-memoize
2731-memoize
2732-counter
2732-counter
2741-function-composition
2741-function-composition
2746-filter-elements-from-array
2746-filter-elements-from-array
2747-apply-transform-over-each-element-in-array
2747-apply-transform-over-each-element-in-array
2761-array-reduce-transformation
2761-array-reduce-transformation
2789-counter-ii
2789-counter-ii
2796-allow-one-function-call
2796-allow-one-function-call
28-find-the-index-of-the-first-occurrence-in-a-string
28-find-the-index-of-the-first-occurrence-in-a-string
2809-create-hello-world-function
2809-create-hello-world-function
2813-to-be-or-not-to-be
2813-to-be-or-not-to-be
2820-return-length-of-arguments-passed
2820-return-length-of-arguments-passed
2859-add-two-promises
2859-add-two-promises
2862-interval-cancellation
2862-interval-cancellation
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
326-power-of-three
326-power-of-three
33-search-in-rotated-sorted-array
33-search-in-rotated-sorted-array
338-counting-bits
338-counting-bits
344-reverse-string
344-reverse-string
347-top-k-frequent-elements
347-top-k-frequent-elements
View all files
Repository files navigation
README
More
items
About
No description, website, or topics provided.
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.