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 }}
wsycqyz
/
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
79 Commits
79 Commits
1.two-sum.c
1.two-sum.c
1.two-sum.cpp
1.two-sum.cpp
100.same-tree.c
100.same-tree.c
100.same-tree.cpp
100.same-tree.cpp
101.symmetric-tree.c
101.symmetric-tree.c
102.binary-tree-level-order-traversal.c
102.binary-tree-level-order-traversal.c
102.binary-tree-level-order-traversal.cpp
102.binary-tree-level-order-traversal.cpp
103.binary-tree-zigzag-level-order-traversal.c
103.binary-tree-zigzag-level-order-traversal.c
104.maximum-depth-of-binary-tree.cpp
104.maximum-depth-of-binary-tree.cpp
106.construct-binary-tree-from-inorder-and-postorder-traversal.c
106.construct-binary-tree-from-inorder-and-postorder-traversal.c
107.binary-tree-level-order-traversal-ii.cpp
107.binary-tree-level-order-traversal-ii.cpp
108.convert-sorted-array-to-binary-search-tree.cpp
108.convert-sorted-array-to-binary-search-tree.cpp
109.convert-sorted-list-to-binary-search-tree.cpp
109.convert-sorted-list-to-binary-search-tree.cpp
11.container-with-most-water.cpp
11.container-with-most-water.cpp
110.balanced-binary-tree.cpp
110.balanced-binary-tree.cpp
111.minimum-depth-of-binary-tree.cpp
111.minimum-depth-of-binary-tree.cpp
112.path-sum.c
112.path-sum.c
113.path-sum-ii.cpp
113.path-sum-ii.cpp
114.flatten-binary-tree-to-linked-list.c
114.flatten-binary-tree-to-linked-list.c
1143.longest-common-subsequence.cpp
1143.longest-common-subsequence.cpp
116.populating-next-right-pointers-in-each-node.c
116.populating-next-right-pointers-in-each-node.c
117.populating-next-right-pointers-in-each-node-ii.c
117.populating-next-right-pointers-in-each-node-ii.c
118.pascals-triangle.cpp
118.pascals-triangle.cpp
119.pascals-triangle-ii.cpp
119.pascals-triangle-ii.cpp
120.triangle.cpp
120.triangle.cpp
121.best-time-to-buy-and-sell-stock.c
121.best-time-to-buy-and-sell-stock.c
124.binary-tree-maximum-path-sum.cpp
124.binary-tree-maximum-path-sum.cpp
1249.minimum-remove-to-make-valid-parentheses.cpp
1249.minimum-remove-to-make-valid-parentheses.cpp
125.valid-palindrome.c
125.valid-palindrome.c
129.sum-root-to-leaf-numbers.cpp
129.sum-root-to-leaf-numbers.cpp
13.roman-to-integer.c
13.roman-to-integer.c
130.surrounded-regions.cpp
130.surrounded-regions.cpp
1337.the-k-weakest-rows-in-a-matrix.cpp
1337.the-k-weakest-rows-in-a-matrix.cpp
136.single-number.cpp
136.single-number.cpp
138.copy-list-with-random-pointer.c
138.copy-list-with-random-pointer.c
139.word-break.cpp
139.word-break.cpp
14.longest-common-prefix.c
14.longest-common-prefix.c
141.linked-list-cycle.c
141.linked-list-cycle.c
141.linked-list-cycle.cpp
141.linked-list-cycle.cpp
142.linked-list-cycle-ii.cpp
142.linked-list-cycle-ii.cpp
143.reorder-list.cpp
143.reorder-list.cpp
144.binary-tree-preorder-traversal.cpp
144.binary-tree-preorder-traversal.cpp
145.binary-tree-postorder-traversal.cpp
145.binary-tree-postorder-traversal.cpp
147.insertion-sort-list.cpp
147.insertion-sort-list.cpp
148.sort-list.cpp
148.sort-list.cpp
15.3-sum.c
15.3-sum.c
15.3-sum.cpp
15.3-sum.cpp
151.reverse-words-in-a-string.c
151.reverse-words-in-a-string.c
151.reverse-words-in-a-string.cpp
151.reverse-words-in-a-string.cpp
152.maximum-product-subarray.cpp
152.maximum-product-subarray.cpp
153.find-minimum-in-rotated-sorted-array.cpp
153.find-minimum-in-rotated-sorted-array.cpp
155.min-stack.cpp
155.min-stack.cpp
160.intersection-of-two-linked-lists.c
160.intersection-of-two-linked-lists.c
160.intersection-of-two-linked-lists.cpp
160.intersection-of-two-linked-lists.cpp
162.find-peak-element.cpp
162.find-peak-element.cpp
165.compare-version-numbers.cpp
165.compare-version-numbers.cpp
168.excel-sheet-column-title.c
168.excel-sheet-column-title.c
169.majority-element.cpp
169.majority-element.cpp
17.letter-combinations-of-a-phone-number.cpp
17.letter-combinations-of-a-phone-number.cpp
171.excel-sheet-column-number.c
171.excel-sheet-column-number.c
179.largest-number.cpp
179.largest-number.cpp
18.4-sum.cpp
18.4-sum.cpp
189.rotate-array.cpp
189.rotate-array.cpp
19.remove-nth-node-from-end-of-list.cpp
19.remove-nth-node-from-end-of-list.cpp
190.reverse-bits.cpp
190.reverse-bits.cpp
191.number-of-1-bits.c
191.number-of-1-bits.c
191.number-of-1-bits.cpp
191.number-of-1-bits.cpp
198.house-robber.c
198.house-robber.c
199.binary-tree-right-side-view.cpp
199.binary-tree-right-side-view.cpp
2.add-two-numbers.c
2.add-two-numbers.c
2.add-two-numbers.cpp
2.add-two-numbers.cpp
20.valid-parentheses.c
20.valid-parentheses.c
200.number-of-islands.cpp
200.number-of-islands.cpp
202.happy-number.cpp
202.happy-number.cpp
203.remove-linked-list-elements.cpp
203.remove-linked-list-elements.cpp
204.count-primes.cpp
204.count-primes.cpp
205.isomorphic-strings.cpp
205.isomorphic-strings.cpp
206.reverse-linked-list.c
206.reverse-linked-list.c
206.reverse-linked-list.cpp
206.reverse-linked-list.cpp
207.course-schedule.cpp
207.course-schedule.cpp
21.merge-two-sorted-lists.c
21.merge-two-sorted-lists.c
21.merge-two-sorted-lists.cpp
21.merge-two-sorted-lists.cpp
210.course-schedule-ii.cpp
210.course-schedule-ii.cpp
213.house-robber-ii.cpp
213.house-robber-ii.cpp
215.kth-largest-element-in-an-array.cpp
215.kth-largest-element-in-an-array.cpp
217.contains-duplicate.cpp
217.contains-duplicate.cpp
2178.maximum-split-of-positive-even-integers.cpp
2178.maximum-split-of-positive-even-integers.cpp
219.contains-duplicate-ii.cpp
219.contains-duplicate-ii.cpp
221.maximal-square.cpp
221.maximal-square.cpp
226.invert-binary-tree.cpp
226.invert-binary-tree.cpp
228.summary-ranges.cpp
228.summary-ranges.cpp
23.merge-k-sorted-lists.cpp
23.merge-k-sorted-lists.cpp
231.power-of-two.cpp
231.power-of-two.cpp
234.palindrome-linked-list.cpp
234.palindrome-linked-list.cpp
235.lowest-common-ancestor-of-a-binary-search-tree.c
235.lowest-common-ancestor-of-a-binary-search-tree.c
235.lowest-common-ancestor-of-a-binary-search-tree.cpp
235.lowest-common-ancestor-of-a-binary-search-tree.cpp
236.lowest-common-ancestor-of-a-binary-tree.cpp
236.lowest-common-ancestor-of-a-binary-tree.cpp
237.delete-node-in-a-linked-list.c
237.delete-node-in-a-linked-list.c
238.product-of-array-except-self.cpp
238.product-of-array-except-self.cpp
239.sliding-window-maximum.cpp
239.sliding-window-maximum.cpp
View all files
Repository files navigation
README
More
items
leetcode
My private leetcode repo
About
No description, website, or topics provided.
Resources
Readme
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.