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 }}
wen587
/
Leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Issues
0
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
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
7 Commits
7 Commits
100_SameTree.java
100_SameTree.java
101_SymmetricTree.java
101_SymmetricTree.java
102_BinaryTreeLevelOrderTraversal.java
102_BinaryTreeLevelOrderTraversal.java
103_BinaryTreeZigzagLevelOrderTraversal.java
103_BinaryTreeZigzagLevelOrderTraversal.java
104_MaximumDepthofBinaryTree.java
104_MaximumDepthofBinaryTree.java
105_ConstructBinaryTreeFromPreorderAndInorderTraversal.java
105_ConstructBinaryTreeFromPreorderAndInorderTraversal.java
106_ConstructBinaryTreeFromInorderAndPostorderTraversal.java
106_ConstructBinaryTreeFromInorderAndPostorderTraversal.java
107_BinaryTreeLevelOrderTraversalII.java
107_BinaryTreeLevelOrderTraversalII.java
108_ConvertSortedArrayToBinarySearchTree.java
108_ConvertSortedArrayToBinarySearchTree.java
109_ConvertSortedListToBinarySearchTree.java
109_ConvertSortedListToBinarySearchTree.java
110_BalancedBinaryTree.java
110_BalancedBinaryTree.java
111_MinimumDepthOfBinaryTree.java
111_MinimumDepthOfBinaryTree.java
112_PathSum.java
112_PathSum.java
113_PathSumII.java
113_PathSumII.java
114_FlattenBinaryTreeToLinkedList.java
114_FlattenBinaryTreeToLinkedList.java
115_DistinctSubsequeces.java
115_DistinctSubsequeces.java
116_PopulatingNextRightPointersinEachNode.java
116_PopulatingNextRightPointersinEachNode.java
117_PopulatingNextRightPointersInEachNodeII.java
117_PopulatingNextRightPointersInEachNodeII.java
118_PascalTriangle.java
118_PascalTriangle.java
119_PascalTriangleII.java
119_PascalTriangleII.java
11_ContainerWithMostWater.java
11_ContainerWithMostWater.java
120_Triangle.java
120_Triangle.java
121_BestTimetoBuyandSellStock.java
121_BestTimetoBuyandSellStock.java
122_BestTimetoBuyandSellStockII.java
122_BestTimetoBuyandSellStockII.java
124_BinaryTreeMaximumPathSum.java
124_BinaryTreeMaximumPathSum.java
125_ValidPalindrome.java
125_ValidPalindrome.java
127_WordLadder.java
127_WordLadder.java
128_LongestConsecutiveSequence.java
128_LongestConsecutiveSequence.java
129_SumRootToLeafNumbers.java
129_SumRootToLeafNumbers.java
12_IntegertoRoman.java
12_IntegertoRoman.java
130_SurroundedRegions.java
130_SurroundedRegions.java
131_PalindromePartitioning.java
131_PalindromePartitioning.java
133_CloneGraph.java
133_CloneGraph.java
134_GasStartion.java
134_GasStartion.java
135_Candy.java
135_Candy.java
136_SingleNumber.java
136_SingleNumber.java
137_SingleNumberII.java
137_SingleNumberII.java
138_CopyListwithRandomPointer.java
138_CopyListwithRandomPointer.java
139_WordBreak.java
139_WordBreak.java
13_RomantoInteger.java
13_RomantoInteger.java
140_WrodBreakII.java
140_WrodBreakII.java
141_LinkedListCycle.java
141_LinkedListCycle.java
142_LinkedListCycleII.java
142_LinkedListCycleII.java
143_ReorderList.java
143_ReorderList.java
144_BinaryTreePreorderTraversal.java
144_BinaryTreePreorderTraversal.java
145_BinaryTreePostorderTraversal.java
145_BinaryTreePostorderTraversal.java
147_InsertionSortList.java
147_InsertionSortList.java
148_SortList.java
148_SortList.java
14_LongestCommonPrefix.java
14_LongestCommonPrefix.java
150_EvaluateReversePolishNotation.java
150_EvaluateReversePolishNotation.java
151_ReverseWordsInAString.java
151_ReverseWordsInAString.java
152_MaximumProductSubarray.java
152_MaximumProductSubarray.java
153_FindMinimumInRotatedSortedArray.java
153_FindMinimumInRotatedSortedArray.java
154_FindMinimumInRotatedSortedArrayII.java
154_FindMinimumInRotatedSortedArrayII.java
155_MinStack.java
155_MinStack.java
15_3Sum.java
15_3Sum.java
160_IntersectionofTwoLinkedLists.java
160_IntersectionofTwoLinkedLists.java
162_ FindPeakElement.java
162_ FindPeakElement.java
164_MaximumGap.java
164_MaximumGap.java
165_CompareVersionNumbers.java
165_CompareVersionNumbers.java
168_ExcelSheetColumnTitle.java
168_ExcelSheetColumnTitle.java
169_MajorityElement.java
169_MajorityElement.java
16_3SumClosest.java
16_3SumClosest.java
171_ExcelSheetColumnNumber.java
171_ExcelSheetColumnNumber.java
172_FactorialTrailingZeroes.java
172_FactorialTrailingZeroes.java
173_BinarySearchTreeIterator.java
173_BinarySearchTreeIterator.java
174_DungeonGame.java
174_DungeonGame.java
179_LargestNumber.java
179_LargestNumber.java
17_LetterCombinationOfPhoneNumber.java
17_LetterCombinationOfPhoneNumber.java
187_RepeatedDNASequence.java
187_RepeatedDNASequence.java
189_RotateArray.java
189_RotateArray.java
18_4Sum.java
18_4Sum.java
190_ReverseBits.java
190_ReverseBits.java
191_NumberOf1Bits.java
191_NumberOf1Bits.java
198_HourseRobber.java
198_HourseRobber.java
199_BinaryTreeRightView.java
199_BinaryTreeRightView.java
19_RemoveNthNodeFromEndOfList.java
19_RemoveNthNodeFromEndOfList.java
1_TwoSum.java
1_TwoSum.java
200_NumberofIslands.java
200_NumberofIslands.java
201_BitwiseANDofNumbersRange.java
201_BitwiseANDofNumbersRange.java
203_RemoveLinkedListElements.java
203_RemoveLinkedListElements.java
204_CountPrimes.java
204_CountPrimes.java
205_IsomorphicStrings.java
205_IsomorphicStrings.java
206_ReverseLinkedList.java
206_ReverseLinkedList.java
207_CourseSchedule.java
207_CourseSchedule.java
208_ImplementTrie.java
208_ImplementTrie.java
209_MinimumSizeSubarraySum.java
209_MinimumSizeSubarraySum.java
20_ValidParentheses.java
20_ValidParentheses.java
210_CourseScheduleII.java
210_CourseScheduleII.java
211_AddandSearchWord-DataStructureDesign.java
211_AddandSearchWord-DataStructureDesign.java
213_HouseRobberII.java
213_HouseRobberII.java
215_KthLargestElementInAnArray.java
215_KthLargestElementInAnArray.java
216_CombinationSumIII.java
216_CombinationSumIII.java
219_ContainsDuplicateII.java
219_ContainsDuplicateII.java
21_MergeTwoSortedLists.java
21_MergeTwoSortedLists.java
221_MaximalSquare.java
221_MaximalSquare.java
222_CountCompleteTreeNodes.java
222_CountCompleteTreeNodes.java
224_BasicCalculator.java
224_BasicCalculator.java
225_ImplementStackusingQueue.java
225_ImplementStackusingQueue.java
226_InvertBinaryTree.java
226_InvertBinaryTree.java
View all files
About
No description, website, or topics provided.
Activity
Stars
1
star
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.