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 }}
Yu-ChangCheng
/
Leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
1
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
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
1,343 Commits
1,343 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1-two-sum
1-two-sum
100-same-tree
100-same-tree
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
11-container-with-most-water
11-container-with-most-water
110-balanced-binary-tree
110-balanced-binary-tree
1119-robot-bounded-in-circle
1119-robot-bounded-in-circle
1127-last-stone-weight
1127-last-stone-weight
1153-product-sales-analysis-i
1153-product-sales-analysis-i
1161-project-employees-i
1161-project-employees-i
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
125-valid-palindrome
125-valid-palindrome
1258-article-views-i
1258-article-views-i
1261-swap-for-longest-repeated-character-substring
1261-swap-for-longest-repeated-character-substring
128-longest-consecutive-sequence
128-longest-consecutive-sequence
131-palindrome-partitioning
131-palindrome-partitioning
1317-monthly-transactions-i
1317-monthly-transactions-i
133-clone-graph
133-clone-graph
1331-path-with-maximum-gold
1331-path-with-maximum-gold
1338-queries-quality-and-percentage
1338-queries-quality-and-percentage
1371-minimum-remove-to-make-valid-parentheses
1371-minimum-remove-to-make-valid-parentheses
138-copy-list-with-random-pointer
138-copy-list-with-random-pointer
139-word-break
139-word-break
1390-average-selling-price
1390-average-selling-price
14-longest-common-prefix
14-longest-common-prefix
141-linked-list-cycle
141-linked-list-cycle
1415-students-and-examinations
1415-students-and-examinations
142-linked-list-cycle-ii
142-linked-list-cycle-ii
1426-find-n-unique-integers-sum-up-to-zero
1426-find-n-unique-integers-sum-up-to-zero
143-reorder-list
143-reorder-list
144-binary-tree-preorder-traversal
144-binary-tree-preorder-traversal
1444-number-of-steps-to-reduce-a-number-to-zero
1444-number-of-steps-to-reduce-a-number-to-zero
145-binary-tree-postorder-traversal
145-binary-tree-postorder-traversal
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
151-reverse-words-in-a-string
151-reverse-words-in-a-string
1514-minimum-value-to-get-positive-step-by-step-sum
1514-minimum-value-to-get-positive-step-by-step-sum
152-maximum-product-subarray
152-maximum-product-subarray
1520-number-of-steps-to-reduce-a-number-in-binary-representation-to-one
1520-number-of-steps-to-reduce-a-number-in-binary-representation-to-one
153-find-minimum-in-rotated-sorted-array
153-find-minimum-in-rotated-sorted-array
1544-count-good-nodes-in-binary-tree
1544-count-good-nodes-in-binary-tree
155-min-stack
155-min-stack
167-two-sum-ii-input-array-is-sorted
167-two-sum-ii-input-array-is-sorted
1675-magnetic-force-between-two-balls
1675-magnetic-force-between-two-balls
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
1773-percentage-of-users-attended-a-contest
1773-percentage-of-users-attended-a-contest
179-largest-number
179-largest-number
1801-average-time-of-process-per-machine
1801-average-time-of-process-per-machine
1810-change-the-root-of-a-binary-tree
1810-change-the-root-of-a-binary-tree
1827-invalid-tweets
1827-invalid-tweets
189-rotate-array
189-rotate-array
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
2-add-two-numbers
2-add-two-numbers
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
2087-confirmation-rate
2087-confirmation-rate
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
212-word-search-ii
212-word-search-ii
213-house-robber-ii
213-house-robber-ii
215-kth-largest-element-in-an-array
215-kth-largest-element-in-an-array
2155-find-missing-observations
2155-find-missing-observations
217-contains-duplicate
217-contains-duplicate
2191-minimum-number-of-food-buckets-to-feed-the-hamsters
2191-minimum-number-of-food-buckets-to-feed-the-hamsters
22-generate-parentheses
22-generate-parentheses
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
234-palindrome-linked-list
234-palindrome-linked-list
235-lowest-common-ancestor-of-a-binary-search-tree
235-lowest-common-ancestor-of-a-binary-search-tree
236-lowest-common-ancestor-of-a-binary-tree
236-lowest-common-ancestor-of-a-binary-tree
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
2475-largest-palindromic-number
2475-largest-palindromic-number
25-reverse-nodes-in-k-group
25-reverse-nodes-in-k-group
2573-remove-nodes-from-linked-list
2573-remove-nodes-from-linked-list
26-remove-duplicates-from-sorted-array
26-remove-duplicates-from-sorted-array
263-ugly-number
263-ugly-number
27-remove-element
27-remove-element
271-encode-and-decode-strings
271-encode-and-decode-strings
277-find-the-celebrity
277-find-the-celebrity
285-inorder-successor-in-bst
285-inorder-successor-in-bst
286-walls-and-gates
286-walls-and-gates
287-find-the-duplicate-number
287-find-the-duplicate-number
View all files
Repository files navigation
README
More
items
Leetcode
About
Just keep going
Resources
Readme
Activity
Stars
1
star
Watchers
1
watching
Forks
1
fork
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.