Skip to content
Navigation Menu
Toggle navigation
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
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
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 or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
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 }}
nevermore1993
/
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
nevermore1993/LeetCode
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
310 Commits
310 Commits
1. Two Sum
1. Two Sum
10. Regular Expression match
10. Regular Expression match
101. Symmetric Tree
101. Symmetric 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
105. Construct Binary Tree from Preorder and Inorder Traversal
105. Construct Binary Tree from Preorder and Inorder Traversal
108. Convert Sorted Array to Binary Search Tree
108. Convert Sorted Array to Binary Search Tree
11. Container with most water
11. Container with most water
116. Populating Next Right Pointers in Each Node
116. Populating Next Right Pointers in Each Node
118. Pascal-s Triangle
118. Pascal-s Triangle
121. Best Time to Buy and Sell Stock
121. Best Time to Buy and Sell Stock
122. Best Time To Buy and Sell Stock
122. 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
127. Word Ladder
127. Word Ladder
128. Longest Consecutive Sequence
128. Longest Consecutive Sequence
13. Roman to Integer
13. Roman to Integer
130. Surrounded Regions
130. Surrounded Regions
131. Palindrome Partitioning
131. Palindrome Partitioning
134. Gas Station
134. Gas Station
136. Single Number
136. Single Number
139. Word Break
139. Word Break
14. Longest common prefix
14. Longest common prefix
141. Linked List Cycle
141. Linked List Cycle
146. LRU Cache
146. LRU Cache
148. Sort List
148. Sort List
149. Max Points On a Line
149. Max Points On a Line
15. 3sum
15. 3sum
150. Evaluate Reverse Polish Notation
150. Evaluate Reverse Polish Notation
152. Maximum Product Subarray
152. Maximum Product Subarray
155. Min Stack
155. Min Stack
160. Intersection of Two Linked Lists
160. Intersection of Two Linked Lists
162. Find Peak Element
162. Find Peak Element
166. Fraction to Recurring Decimal
166. Fraction to Recurring Decimal
169. Majority Element
169. Majority Element
17. Letter combinations of a phone number
17. Letter combinations of a phone number
171. Excel Sheet Column Number
171. Excel Sheet Column Number
172. Factorial Trailing Zeros
172. Factorial Trailing Zeros
179. Largest Number
179. Largest Number
189. Rotate Array
189. Rotate Array
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
20. Valid Parentheses
20. Valid Parentheses
200. Number of Islands
200. Number of Islands
202. Happy Number
202. Happy Number
204. Count Primes
204. Count Primes
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
215. Kth Largest Element in an array
215. Kth Largest Element in an array
217. Contains Dupliacte
217. Contains Dupliacte
22. Generate Parentheses
22. Generate Parentheses
227. Basic Calculator
227. Basic Calculator
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
236. Lowest Common Ancestor of a Binary Tree
236. Lowest Common Ancestor of a Binary Tree
237. Delete Node in a Linked List
237. Delete Node in a Linked List
238. Product of Array Except Self
238. Product of Array Except Self
239. Sliding Window Maximum
239. Sliding Window Maximum
240. Search a 2D Matrix II
240. Search a 2D Matrix II
242. Valid Anagram
242. Valid Anagram
26. Remove Duplicates from Sorted Array
26. Remove Duplicates from Sorted Array
268. Missing Number
268. Missing Number
279. Perfect Squares
279. Perfect Squares
28. Implement strStr
28. Implement strStr
283. Move Zeros
283. Move Zeros
287. Find the Duplicate Number
287. Find the Duplicate Number
289. Game of Life
289. Game of Life
29.divide two integer
29.divide two integer
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
315. Count of Smaller Numbers After Self
315. Count of Smaller Numbers After Self
322. Coin Change
322. Coin Change
326. Power of Three
326. Power of Three
328. Odd Even Linked List
328. Odd Even Linked List
329.the Longest Increase Path in A Matrix
329.the Longest Increase Path in A Matrix
33. Search in Rotated Sorted Array
33. Search in Rotated Sorted Array
334. Increasing Triplet Subsequence
334. Increasing Triplet Subsequence
34. find first and last position of element in sorted array
34. find first and last position of element in sorted array
344. Reverse String
344. Reverse String
347. Top K Frequent Elements
347. Top K Frequent Elements
36. Valid Sudoku
36. Valid Sudoku
38. count and say
38. count and say
387. First Unique Character in a String
387. First Unique Character in a String
4. Median of Two Sorted Arrays
4. Median of Two Sorted Arrays
41. First missing positive
41. First missing positive
42. Trapping rain water
42. Trapping rain water
454. 4Sum II
454. 4Sum II
46.Permutations
46.Permutations
48. Rotate Image
48. Rotate Image
49. Group Anagrams
49. Group Anagrams
50. Power-x- n
50. Power-x- n
53. Maximum Subarray
53. Maximum Subarray
View all files
Repository files navigation
README
More
items
LeetCode
LeetCode Practice
About
LeetCode No.724
Resources
Readme
Uh oh!
There was an error while loading.
Please reload this page
.
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
Releases
No releases published
Packages
0
Uh oh!
There was an error while loading.
Please reload this page
.
Contributors
Uh oh!
There was an error while loading.
Please reload this page
.
Languages
Java
97.0%
C
1.6%
Python
1.4%
You can’t perform that action at this time.