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
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 }}
superwhd
/
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
358 Commits
358 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1 Two Sum .py
1 Two Sum .py
106 Construct Binary Tree from Inorder and Postorder Traversal .cpp
106 Construct Binary Tree from Inorder and Postorder Traversal .cpp
126 Word Ladder II .cpp
126 Word Ladder II .cpp
128 Longest Consecutive Sequence .cpp
128 Longest Consecutive Sequence .cpp
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
147 Insertion Sort List .cpp
147 Insertion Sort List .cpp
148 Sort List .cpp
148 Sort List .cpp
152 Maximum Product Subarray .cpp
152 Maximum Product Subarray .cpp
162 Find Peak Element .cpp
162 Find Peak Element .cpp
166 Fraction to Recurring Decimal .cpp
166 Fraction to Recurring Decimal .cpp
173 Binary Search Tree Iterator .cpp
173 Binary Search Tree Iterator .cpp
188 Best Time to Buy and Sell Stock IV .cpp
188 Best Time to Buy and Sell Stock IV .cpp
203 Remove Linked List Elements .cpp
203 Remove Linked List Elements .cpp
204 Count Primes .cpp
204 Count Primes .cpp
206 Reverse Linked List .cpp
206 Reverse Linked List .cpp
207 Course Schedule .cpp
207 Course Schedule .cpp
210 Course Schedule II .cpp
210 Course Schedule II .cpp
211 Add and Search Word - Data structure design .cpp
211 Add and Search Word - Data structure design .cpp
212 Word Search II .cpp
212 Word Search II .cpp
213 House Robber II .cpp
213 House Robber II .cpp
214 Shortest Palindrome .cpp
214 Shortest Palindrome .cpp
215 Kth Largest Element in an Array .cpp
215 Kth Largest Element in an Array .cpp
216 Combination Sum III .cpp
216 Combination Sum III .cpp
219 Contains Duplicate II .cpp
219 Contains Duplicate II .cpp
221 Maximal Square .cpp
221 Maximal Square .cpp
222 Count Complete Tree Nodes .cpp
222 Count Complete Tree Nodes .cpp
225 Implement Stack using Queues .cpp
225 Implement Stack using Queues .cpp
227 Basic Calculator II .cpp
227 Basic Calculator II .cpp
229 Majority Element II .cpp
229 Majority Element II .cpp
230 Kth Smallest Element in a BST .cpp
230 Kth Smallest Element in a BST .cpp
234 Palindrome Linked List .cpp
234 Palindrome Linked List .cpp
237 Delete Node in a Linked List .cpp
237 Delete Node in a Linked List .cpp
239 Sliding Window Maximum .cpp
239 Sliding Window Maximum .cpp
241 Different Ways to Add Parentheses .cpp
241 Different Ways to Add Parentheses .cpp
264 Ugly Number II .cpp
264 Ugly Number II .cpp
273 Integer to English Words .cpp
273 Integer to English Words .cpp
274 H-Index .cpp
274 H-Index .cpp
275 H-Index II .cpp
275 H-Index II .cpp
279 Perfect Squares .cpp
279 Perfect Squares .cpp
282 Expression Add Operators .cpp
282 Expression Add Operators .cpp
284 Peeking Iterator .cpp
284 Peeking Iterator .cpp
287 Find the Duplicate Number .cpp
287 Find the Duplicate Number .cpp
289 Game of Life .cpp
289 Game of Life .cpp
297 Serialize and Deserialize Binary Tree .cpp
297 Serialize and Deserialize Binary Tree .cpp
299 Bulls and Cows .cpp
299 Bulls and Cows .cpp
300 Longest Increasing Subsequence .cpp
300 Longest Increasing Subsequence .cpp
301 Remove Invalid Parentheses .cpp
301 Remove Invalid Parentheses .cpp
303 Range Sum Query - Immutable .cpp
303 Range Sum Query - Immutable .cpp
309 Best Time to Buy and Sell Stock with Cooldown .cpp
309 Best Time to Buy and Sell Stock with Cooldown .cpp
313 Super Ugly Number .cpp
313 Super Ugly Number .cpp
315 Count of Smaller Numbers After Self .cpp
315 Count of Smaller Numbers After Self .cpp
318 Maximum Product of Word Lengths .cpp
318 Maximum Product of Word Lengths .cpp
321 Create Maximum Number .cpp
321 Create Maximum Number .cpp
327 Count of Range Sum .cpp
327 Count of Range Sum .cpp
329 Longest Increasing Path in a Matrix .cpp
329 Longest Increasing Path in a Matrix .cpp
330 Patching Array .cpp
330 Patching Array .cpp
331 Verify Preorder Serialization of a Binary Tree .cpp
331 Verify Preorder Serialization of a Binary Tree .cpp
334 Increasing Triplet Subsequence .cpp
334 Increasing Triplet Subsequence .cpp
336 Palindrome Pairs .cpp
336 Palindrome Pairs .cpp
337 House Robber III .cpp
337 House Robber III .cpp
347 Top K Frequent Elements .cpp
347 Top K Frequent Elements .cpp
350 Intersection of Two Arrays II .cpp
350 Intersection of Two Arrays II .cpp
352 Data Stream as Disjoint Intervals .cpp
352 Data Stream as Disjoint Intervals .cpp
363 Max Sum of Rectangle No Larger Than K .cpp
363 Max Sum of Rectangle No Larger Than K .cpp
368 Largest Divisible Subset .cpp
368 Largest Divisible Subset .cpp
37 Sudoku Solver .cpp
37 Sudoku Solver .cpp
378 Kth Smallest Element in a Sorted Matrix .cpp
378 Kth Smallest Element in a Sorted Matrix .cpp
380 Insert Delete GetRandom O(1) .cpp
380 Insert Delete GetRandom O(1) .cpp
381 Insert Delete GetRandom O(1) - Duplicates allowed .cpp
381 Insert Delete GetRandom O(1) - Duplicates allowed .cpp
390 Elimination Game .py
390 Elimination Game .py
391 Perfect Rectangle .cpp
391 Perfect Rectangle .cpp
392 Is Subsequence .cpp
392 Is Subsequence .cpp
395 Longest Substring with At Least K Repeating Characters .cpp
395 Longest Substring with At Least K Repeating Characters .cpp
396 Rotate Function .py
396 Rotate Function .py
397 Integer Replacement .cpp
397 Integer Replacement .cpp
398 Random Pick Index .java
398 Random Pick Index .java
399 Evaluate Division .py
399 Evaluate Division .py
41 First Missing Positive .cpp
41 First Missing Positive .cpp
412 Fizz Buzz .py
412 Fizz Buzz .py
413 Arithmetic Slices .py
413 Arithmetic Slices .py
414 Third Maximum Number .cpp
414 Third Maximum Number .cpp
419 Battleships in a Board .py
419 Battleships in a Board .py
420 Strong Password Checker .cpp
420 Strong Password Checker .cpp
421 Maximum XOR of Two Numbers in an Array .cpp
421 Maximum XOR of Two Numbers in an Array .cpp
423 Reconstruct Original Digits from English .cpp
423 Reconstruct Original Digits from English .cpp
424 Longest Repeating Character Replacement .cpp
424 Longest Repeating Character Replacement .cpp
432 All O`one Data Structure .py
432 All O`one Data Structure .py
435 Non-overlapping Intervals .cpp
435 Non-overlapping Intervals .cpp
436 Find Right Interval .cpp
436 Find Right Interval .cpp
437 Path Sum III .py
437 Path Sum III .py
441 Arranging Coins .cpp
441 Arranging Coins .cpp
446 Arithmetic Slices II - Subsequence .cpp
446 Arithmetic Slices II - Subsequence .cpp
447 Number of Boomerangs .cpp
447 Number of Boomerangs .cpp
452 Minimum Number of Arrows to Burst Balloons .cpp
452 Minimum Number of Arrows to Burst Balloons .cpp
453 Minimum Moves to Equal Array Elements .cpp
453 Minimum Moves to Equal Array Elements .cpp
454 4Sum II .cpp
454 4Sum II .cpp
455 Assign Cookies .cpp
455 Assign Cookies .cpp
456 132 Pattern .cpp
456 132 Pattern .cpp
View all files
Repository files navigation
README
More
items
LeetCode
My LeetCode solutions(automatically uploaded).
About
No description, website, or topics provided.
Resources
Readme
Activity
Stars
1
star
Watchers
1
watching
Forks
1
fork
Report repository
Releases
Packages
Used by
Contributors
Languages
You can’t perform that action at this time.