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
Accelerator
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
Type
/
to 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 }}
CJ8664
/
leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
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
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
1,364 Commits
1,364 Commits
.github/
workflows
.github/
workflows
1-two-sum
1-two-sum
100-same-tree
100-same-tree
102-binary-tree-level-order-traversal
102-binary-tree-level-order-traversal
103-binary-tree-zigzag-level-order-traversal
103-binary-tree-zigzag-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
1046-last-stone-weight
1046-last-stone-weight
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
111-minimum-depth-of-binary-tree
111-minimum-depth-of-binary-tree
112-path-sum
112-path-sum
1143-longest-common-subsequence
1143-longest-common-subsequence
116-populating-next-right-pointers-in-each-node
116-populating-next-right-pointers-in-each-node
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
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
139-word-break
139-word-break
141-linked-list-cycle
141-linked-list-cycle
143-reorder-list
143-reorder-list
1448-count-good-nodes-in-binary-tree
1448-count-good-nodes-in-binary-tree
146-lru-cache
146-lru-cache
1481-least-number-of-unique-integers-after-k-removals
1481-least-number-of-unique-integers-after-k-removals
15-3sum
15-3sum
150-evaluate-reverse-polish-notation
150-evaluate-reverse-polish-notation
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
1584-min-cost-to-connect-all-points
1584-min-cost-to-connect-all-points
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
1834-single-threaded-cpu
1834-single-threaded-cpu
1899-merge-triplets-to-form-target-triplet
1899-merge-triplets-to-form-target-triplet
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
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
2013-detect-squares
2013-detect-squares
202-happy-number
202-happy-number
2055-plates-between-candles
2055-plates-between-candles
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
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
217-contains-duplicate
217-contains-duplicate
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
239-sliding-window-maximum
239-sliding-window-maximum
242-valid-anagram
242-valid-anagram
252-meeting-rooms
252-meeting-rooms
253-meeting-rooms-ii
253-meeting-rooms-ii
268-missing-number
268-missing-number
287-find-the-duplicate-number
287-find-the-duplicate-number
295-find-median-from-data-stream
295-find-median-from-data-stream
297-serialize-and-deserialize-binary-tree
297-serialize-and-deserialize-binary-tree
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
338-counting-bits
338-counting-bits
347-top-k-frequent-elements
347-top-k-frequent-elements
35-search-insert-position
35-search-insert-position
355-design-twitter
355-design-twitter
36-valid-sudoku
36-valid-sudoku
371-sum-of-two-integers
371-sum-of-two-integers
378-kth-smallest-element-in-a-sorted-matrix
378-kth-smallest-element-in-a-sorted-matrix
39-combination-sum
39-combination-sum
4-median-of-two-sorted-arrays
4-median-of-two-sorted-arrays
40-combination-sum-ii
40-combination-sum-ii
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
43-multiply-strings
43-multiply-strings
435-non-overlapping-intervals
435-non-overlapping-intervals
436-find-right-interval
436-find-right-interval
442-find-all-duplicates-in-an-array
442-find-all-duplicates-in-an-array
448-find-all-numbers-disappeared-in-an-array
448-find-all-numbers-disappeared-in-an-array
45-jump-game-ii
45-jump-game-ii
46-permutations
46-permutations
View all files
Repository files navigation
README
More
items
Leetcode
My solutions to leetcode problems
Also available as
gitbook
About
My solutions to leetcode problems
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.