Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
guoting1220
leetcode_java
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
leetcode_java
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
0
(
0
)
You must be signed in to star a repository
About
practice in java
Resources
Readme
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
46 Commits
46 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1. Two Sum.java
1. Two Sum.java
101. Symmetric Tree.java
101. Symmetric Tree.java
102. Binary Tree Level Order Traversal.java
102. Binary Tree Level Order Traversal.java
103. Binary Tree Zigzag Level Order Traversal.java
103. Binary Tree Zigzag Level Order Traversal.java
104. Maximum Depth of Binary Tree.java
104. Maximum Depth of Binary Tree.java
105. Construct Binary Tree from Preorder and Inorder Traversal.java
105. Construct Binary Tree from Preorder and Inorder Traversal.java
106. Construct Binary Tree from Inorder and Postorder Traversal.java
106. Construct Binary Tree from Inorder and Postorder Traversal.java
107. Binary Tree Level Order Traversal II.java
107. Binary Tree Level Order Traversal II.java
108. Convert Sorted Array to Binary Search Tree.java
108. Convert Sorted Array to Binary Search Tree.java
109. Convert Sorted List to Binary Search Tree.java
109. Convert Sorted List to Binary Search Tree.java
11. Container With Most Water.java
11. Container With Most Water.java
110. Balanced Binary Tree.java
110. Balanced Binary Tree.java
111. Minimum Depth of Binary Tree.java
111. Minimum Depth of Binary Tree.java
113. Path Sum II.java
113. Path Sum II.java
114. Flatten Binary Tree to Linked List.java
114. Flatten Binary Tree to Linked List.java
116. Populating Next Right Pointers in Each Node.java
116. Populating Next Right Pointers in Each Node.java
118. Pascal's Triangle.java
118. Pascal's Triangle.java
119. Pascal's Triangle II.java
119. Pascal's Triangle II.java
12. Integer to Roman.java
12. Integer to Roman.java
120. Triangle.java
120. Triangle.java
121. Best Time to Buy and Sell Stock.java
121. Best Time to Buy and Sell Stock.java
122. Best Time to Buy and Sell Stock II.java
122. Best Time to Buy and Sell Stock II.java
125. Valid Palindrome.java
125. Valid Palindrome.java
129. Sum Root to Leaf Numbers.java
129. Sum Root to Leaf Numbers.java
13. Roman to Integer.java
13. Roman to Integer.java
131. Palindrome Partitioning.java
131. Palindrome Partitioning.java
134. Gas Station.java
134. Gas Station.java
136. Single Number.java
136. Single Number.java
137. Single Number II.java
137. Single Number II.java
139. Word Break.java
139. Word Break.java
14. Longest Common Prefix.java
14. Longest Common Prefix.java
141. Linked List Cycle.java
141. Linked List Cycle.java
142. Linked List Cycle II.java
142. Linked List Cycle II.java
143. Reorder List.java
143. Reorder List.java
144. Binary Tree Preorder Traversal.java
144. Binary Tree Preorder Traversal.java
147. Insertion Sort List.java
147. Insertion Sort List.java
148. Sort List.java
148. Sort List.java
15. 3Sum.java
15. 3Sum.java
150. Evaluate Reverse Polish Notation.java
150. Evaluate Reverse Polish Notation.java
151. Reverse Words in a String.java
151. Reverse Words in a String.java
152. Maximum Product Subarray.java
152. Maximum Product Subarray.java
153. Find Minimum in Rotated Sorted Array.java
153. Find Minimum in Rotated Sorted Array.java
155. Min Stack.java
155. Min Stack.java
16. 3Sum Closest.java
16. 3Sum Closest.java
160. Intersection of Two Linked Lists.java
160. Intersection of Two Linked Lists.java
162. Find Peak Element.java
162. Find Peak Element.java
165. Compare Version Numbers.java
165. Compare Version Numbers.java
166. Fraction to Recurring Decimal.java
166. Fraction to Recurring Decimal.java
168. Excel Sheet Column Title.java
168. Excel Sheet Column Title.java
169. Majority Element.java
169. Majority Element.java
17.Letter Combinations of a Phone Number.java
17.Letter Combinations of a Phone Number.java
171. Excel Sheet Column Number.java
171. Excel Sheet Column Number.java
172. Factorial Trailing Zeroes.java
172. Factorial Trailing Zeroes.java
173. Binary Search Tree Iterator.java
173. Binary Search Tree Iterator.java
179. Largest Number.java
179. Largest Number.java
189. Rotate Array.java
189. Rotate Array.java
19. Remove Nth Node From End of List.java
19. Remove Nth Node From End of List.java
190. Reverse Bits.java
190. Reverse Bits.java
191. Number of 1 Bits.java
191. Number of 1 Bits.java
198. House Robber.java
198. House Robber.java
199. Binary Tree Right Side View.java
199. Binary Tree Right Side View.java
1_TwoSum.java
1_TwoSum.java
2. Add Two Numbers.java
2. Add Two Numbers.java
20. Valid Parentheses.java
20. Valid Parentheses.java
200. Number of Islands.java
200. Number of Islands.java
201. Bitwise AND of Numbers Range.java
201. Bitwise AND of Numbers Range.java
202. Happy Number.java
202. Happy Number.java
203. Remove Linked List Elements.java
203. Remove Linked List Elements.java
204. Count Primes.java
204. Count Primes.java
205. Isomorphic Strings.java
205. Isomorphic Strings.java
206. Reverse Linked List.java
206. Reverse Linked List.java
207. Course Schedule.java
207. Course Schedule.java
208. Implement Trie (Prefix Tree).java
208. Implement Trie (Prefix Tree).java
209. Minimum Size Subarray Sum.java
209. Minimum Size Subarray Sum.java
21. Merge Two Sorted Lists.java
21. Merge Two Sorted Lists.java
211. Add and Search Word - Data structure design.java
211. Add and Search Word - Data structure design.java
213. House Robber II.java
213. House Robber II.java
215. Kth Largest Element in an Array.java
215. Kth Largest Element in an Array.java
216. Combination Sum III.java
216. Combination Sum III.java
217. Contains Duplicate.java
217. Contains Duplicate.java
219. Contains Duplicate II.java
219. Contains Duplicate II.java
22. Generate Parentheses.java
22. Generate Parentheses.java
221. Maximal Square.java
221. Maximal Square.java
222. Count Complete Tree Nodes.java
222. Count Complete Tree Nodes.java
223. Rectangle Area.java
223. Rectangle Area.java
224. Basic Calculator.java
224. Basic Calculator.java
225. Implement Stack using Queues.java
225. Implement Stack using Queues.java
226. Invert Binary Tree.java
226. Invert Binary Tree.java
227. Basic Calculator II.java
227. Basic Calculator II.java
228. Summary Ranges.java
228. Summary Ranges.java
229. Majority Element II.java
229. Majority Element II.java
230. Kth Smallest Element in a BST.java
230. Kth Smallest Element in a BST.java
231. Power of Two.java
231. Power of Two.java
232. Implement Queue using Stacks.java
232. Implement Queue using Stacks.java
234. Palindrome Linked List.java
234. Palindrome Linked List.java
237. Delete Node in a Linked List.java
237. Delete Node in a Linked List.java
238. Product of Array Except Self.java
238. Product of Array Except Self.java
24. Swap Nodes in Pairs.java
24. Swap Nodes in Pairs.java
240. Search a 2D Matrix II.java
240. Search a 2D Matrix II.java
241. Different Ways to Add Parentheses.java
241. Different Ways to Add Parentheses.java
View all files
Repository files navigation
README
More
items
Algorithm_DataStructure_Java
practice in java
About
practice in java
Resources
Readme
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.