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 }}
coderbean
LeetCode-Java
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
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.