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
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 }}
coderbean
/
LeetCode-Java
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
2
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
Files
Expand file tree
master
Breadcrumbs
LeetCode-Java
/
docs
/
markdown
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
LeetCode-Java
/
docs
/
markdown
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
0007. Reverse Integer.md
0007. Reverse Integer.md
0008. String to Integer (atoi).md
0008. String to Integer (atoi).md
0009. Palindrome Number.md
0009. Palindrome Number.md
0011. Container With Most Water.md
0011. Container With Most Water.md
0012. Integer to Roman.md
0012. Integer to Roman.md
0013. Roman to Integer.md
0013. Roman to Integer.md
0014. Longest Common Prefix.md
0014. Longest Common Prefix.md
0015. 3Sum.md
0015. 3Sum.md
0016. 3Sum Closest.md
0016. 3Sum Closest.md
0017. Letter Combinations of a Phone Number.md
0017. Letter Combinations of a Phone Number.md
0018. 4Sum.md
0018. 4Sum.md
0019. Remove Nth Node From End of List.md
0019. Remove Nth Node From End of List.md
0020. Valid Parentheses.md
0020. Valid Parentheses.md
0021. Merge Two Sorted Lists.md
0021. Merge Two Sorted Lists.md
0022. Generate Parentheses.md
0022. Generate Parentheses.md
0024. Swap Nodes in Pairs.md
0024. Swap Nodes in Pairs.md
0026. Remove Duplicates from Sorted Array.md
0026. Remove Duplicates from Sorted Array.md
0027. Remove Element.md
0027. Remove Element.md
0028. Implement strStr().md
0028. Implement strStr().md
0029. Divide Two Integers.md
0029. Divide Two Integers.md
0031. Next Permutation.md
0031. Next Permutation.md
0033. Search in Rotated Sorted Array.md
0033. Search in Rotated Sorted Array.md
0034. Find First and Last Position of Element in Sorted Array.md
0034. Find First and Last Position of Element in Sorted Array.md
0035. Search Insert Position.md
0035. Search Insert Position.md
0036. Valid Sudoku.md
0036. Valid Sudoku.md
0038. Count and Say.md
0038. Count and Say.md
0039. Combination Sum.md
0039. Combination Sum.md
0040. Combination Sum II.md
0040. Combination Sum II.md
0043. Multiply Strings.md
0043. Multiply Strings.md
0046. Permutations.md
0046. Permutations.md
0047. Permutations II.md
0047. Permutations II.md
0048. Rotate Image.md
0048. Rotate Image.md
0049. group anagrams.md
0049. group anagrams.md
0050. Pow(x, n).md
0050. Pow(x, n).md
0051. N-Queens.md
0051. N-Queens.md
0053. Maximum Subarray.md
0053. Maximum Subarray.md
0054. Spiral Matrix.md
0054. Spiral Matrix.md
0055. Jump Game.md
0055. Jump Game.md
0056. Merge Intervals.md
0056. Merge Intervals.md
0058. Length of Last Word.md
0058. Length of Last Word.md
0059. Spiral Matrix II.md
0059. Spiral Matrix II.md
0060. Permutation Sequence.md
0060. Permutation Sequence.md
0061. Rotate List.md
0061. Rotate List.md
0062. Unique Paths.md
0062. Unique Paths.md
0063. Unique Paths II.md
0063. Unique Paths II.md
0064. Minimum Path Sum.md
0064. Minimum Path Sum.md
0066. Plus One.md
0066. Plus One.md
0067. Add Binary.md
0067. Add Binary.md
0069. Sqrt(x).md
0069. Sqrt(x).md
0070. Climbing Stairs.md
0070. Climbing Stairs.md
0071. Simplify Path.md
0071. Simplify Path.md
0073. Set Matrix Zeroes.md
0073. Set Matrix Zeroes.md
0074. Search a 2D Matrix.md
0074. Search a 2D Matrix.md
0075. Sort Colors.md
0075. Sort Colors.md
0077. Combinations.md
0077. Combinations.md
0078. Subsets.md
0078. Subsets.md
0079. Word Search.md
0079. Word Search.md
0080. Remove Duplicates from Sorted Array II.md
0080. Remove Duplicates from Sorted Array II.md
0081. Search in Rotated Sorted Array II.md
0081. Search in Rotated Sorted Array II.md
0082. Remove Duplicates from Sorted List II.md
0082. Remove Duplicates from Sorted List II.md
0083. Remove Duplicates from Sorted List.md
0083. Remove Duplicates from Sorted List.md
0086. Partition List.md
0086. Partition List.md
0088. Merge Sorted Array.md
0088. Merge Sorted Array.md
0089. Gray Code.md
0089. Gray Code.md
0090. Subsets II.md
0090. Subsets II.md
0091. Decode Ways.md
0091. Decode Ways.md
0092. Reverse Linked List II.md
0092. Reverse Linked List II.md
0093. Restore IP Addresses.md
0093. Restore IP Addresses.md
0094. Binary Tree Inorder Traversal.md
0094. Binary Tree Inorder Traversal.md
0146. LRU Cache.md
0146. LRU Cache.md
View all files
You can’t perform that action at this time.