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 }}
PANXiao1994
/
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
31 Commits
31 Commits
.DS_Store
.DS_Store
.gitattributes
.gitattributes
0 NOTES
0 NOTES
1 two sums
1 two sums
10 Same Tree
10 Same Tree
100 Binary Watch
100 Binary Watch
101 Base 7
101 Base 7
102 Missing Number
102 Missing Number
103 Student Attendance Record I
103 Student Attendance Record I
104 Longest Harmonious Subsequence
104 Longest Harmonious Subsequence
105 Subtree of Another Tree
105 Subtree of Another Tree
106 Set Mismatch
106 Set Mismatch
107 Lowest Common Ancestor of a Binary Search Tree
107 Lowest Common Ancestor of a Binary Search Tree
108 House robbers
108 House robbers
109 Pascal's Triangle
109 Pascal's Triangle
11 Single Number
11 Single Number
110 Reverse Vowels of a String
110 Reverse Vowels of a String
111 Maximum Average Subarray I
111 Maximum Average Subarray I
112 Valid Perfect Square
112 Valid Perfect Square
113 Repeated Substring Pattern
113 Repeated Substring Pattern
114 Find Mode in Binary Search Tree
114 Find Mode in Binary Search Tree
115 Pascal's Triangle II
115 Pascal's Triangle II
116 Implement Queue using Stacks
116 Implement Queue using Stacks
117 Number of Segments in a String
117 Number of Segments in a String
118 Arranging Coins
118 Arranging Coins
119 Factorial Trailing Zeroes
119 Factorial Trailing Zeroes
12 Remove Element
12 Remove Element
120 Guess Number Higher or Lower
120 Guess Number Higher or Lower
121 Linked List Cycle
121 Linked List Cycle
122 Isomorphic Strings
122 Isomorphic Strings
123 Perfect Number
123 Perfect Number
124 Find All Anagrams in a String
124 Find All Anagrams in a String
125 Word Pattern
125 Word Pattern
126 Implement Stack using Queues
126 Implement Stack using Queues
127 Palindrome Linked List
127 Palindrome Linked List
128 Remove Linked List Elements
128 Remove Linked List Elements
129 Contains Duplicate II
129 Contains Duplicate II
13 Remove Duplicates from Sorted Array
13 Remove Duplicates from Sorted Array
130 Sum of Square Numbers
130 Sum of Square Numbers
131 Intersection of Two Linked Lists
131 Intersection of Two Linked Lists
132 Nth Digit
132 Nth Digit
133 Can Place Flowers
133 Can Place Flowers
134 Range Sum Query - Immutable
134 Range Sum Query - Immutable
135+ Heaters
135+ Heaters
136 Shortest Unsorted Continuous Subarray
136 Shortest Unsorted Continuous Subarray
137 Min Stack
137 Min Stack
138 Third Maximum Number
138 Third Maximum Number
139+ Sqrt(x)
139+ Sqrt(x)
14 Maximum Subarray
14 Maximum Subarray
140 Count Primes
140 Count Primes
141 Valid Palindrome
141 Valid Palindrome
142 Rotate Array
142 Rotate Array
143 Non-decreasing Array
143 Non-decreasing Array
144- Kth Largest Element in an Array
144- Kth Largest Element in an Array
145+ Maximum Binary Tree
145+ Maximum Binary Tree
146 Complex Number Multiplication
146 Complex Number Multiplication
147 Counting Bits
147 Counting Bits
148 Find Bottom Left Tree Value
148 Find Bottom Left Tree Value
149 Find All Duplicates in an Array
149 Find All Duplicates in an Array
15 Best Time to Buy and Sell Stock
15 Best Time to Buy and Sell Stock
150 Queue Reconstruction by Height
150 Queue Reconstruction by Height
151 Single Element in a Sorted Array
151 Single Element in a Sorted Array
152 Palindromic Substrings
152 Palindromic Substrings
153 Longest Palindromic Substring
153 Longest Palindromic Substring
154 Optimal Division
154 Optimal Division
155- Ugly Number II
155- Ugly Number II
156 Find Largest Value in Each Tree Row
156 Find Largest Value in Each Tree Row
157 Construct Binary Tree from Preorder and Inorder Traversal
157 Construct Binary Tree from Preorder and Inorder Traversal
158 Construct Binary Tree from Inorder and Postorder Traversal
158 Construct Binary Tree from Inorder and Postorder Traversal
159 Most Frequent Subtree Sum
159 Most Frequent Subtree Sum
16 Maximum Depth of Binary Tree
16 Maximum Depth of Binary Tree
160 Print Binary Tree
160 Print Binary Tree
161 Binary Tree Inorder Traversal
161 Binary Tree Inorder Traversal
162 Binary Tree Preorder Traversal
162 Binary Tree Preorder Traversal
163 Add One Row to Tree
163 Add One Row to Tree
164 House Robber III
164 House Robber III
165 Unique Binary Search Trees
165 Unique Binary Search Trees
166 Binary Tree Right Side View
166 Binary Tree Right Side View
167+ Populating Next Right Pointers in Each Node
167+ Populating Next Right Pointers in Each Node
168 Find the Duplicate Number
168 Find the Duplicate Number
169+ Single Number III
169+ Single Number III
17 Balanced Binary Tree
17 Balanced Binary Tree
170- Arithmetic Slices
170- Arithmetic Slices
171 Sort Characters By Frequency
171 Sort Characters By Frequency
172 Top K Frequent Elements
172 Top K Frequent Elements
173 Beautiful Arrangement II
173 Beautiful Arrangement II
174 Teemo Attacking
174 Teemo Attacking
175 Array Nesting
175 Array Nesting
176+ Product of Array Except Self
176+ Product of Array Except Self
177 Beautiful Arrangement
177 Beautiful Arrangement
178 Count Numbers with Unique Digits
178 Count Numbers with Unique Digits
179 Combination Sum III
179 Combination Sum III
18 Climbing Stairs
18 Climbing Stairs
180+ Generate Parentheses
180+ Generate Parentheses
181 Permutations
181 Permutations
182 Subsets
182 Subsets
183 Combinations
183 Combinations
184 Combination Sum
184 Combination Sum
185 Subsets II
185 Subsets II
186 Letter Combinations of a Phone Number
186 Letter Combinations of a Phone Number
View all files
About
The leetcode exercice
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
You can’t perform that action at this time.