Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
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 }}
rffffffff007
/
leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
23
Star
24
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
rffffffff007/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
79 Commits
79 Commits
3Sum Closest.java
3Sum Closest.java
3Sum.java
3Sum.java
4Sum.java
4Sum.java
Add Binary.java
Add Binary.java
Add Two Numbers.java
Add Two Numbers.java
Anagrams.java
Anagrams.java
Balanced Binary Tree.java
Balanced Binary Tree.java
Best Time to Buy and Sell Stock II.java
Best Time to Buy and Sell Stock II.java
Best Time to Buy and Sell Stock III.java
Best Time to Buy and Sell Stock III.java
Best Time to Buy and Sell Stock.java
Best Time to Buy and Sell Stock.java
Binary Tree Inorder Traversal.java
Binary Tree Inorder Traversal.java
Binary Tree Level Order Traversal II.java
Binary Tree Level Order Traversal II.java
Binary Tree Level Order Traversal.java
Binary Tree Level Order Traversal.java
Binary Tree Maximum Path Sum.java
Binary Tree Maximum Path Sum.java
Binary Tree Postorder Traversal.java
Binary Tree Postorder Traversal.java
Binary Tree Preorder Traversal.java
Binary Tree Preorder Traversal.java
Binary Tree Zigzag Level Order Traversal.java
Binary Tree Zigzag Level Order Traversal.java
Candy.java
Candy.java
Climbing Stairs.java
Climbing Stairs.java
Clone Graph.java
Clone Graph.java
Combination Sum II.java
Combination Sum II.java
Combination Sum.java
Combination Sum.java
Combinations.java
Combinations.java
Construct Binary Tree from Inorder and Postorder Traversal.java
Construct Binary Tree from Inorder and Postorder Traversal.java
Construct Binary Tree from Preorder and Inorder Traversal.java
Construct Binary Tree from Preorder and Inorder Traversal.java
Container With Most Water.java
Container With Most Water.java
Convert Sorted Array to Binary Search Tree.java
Convert Sorted Array to Binary Search Tree.java
Convert Sorted List to Binary Search Tree.java
Convert Sorted List to Binary Search Tree.java
Copy List with Random Pointer.java
Copy List with Random Pointer.java
Count and Say.java
Count and Say.java
Decode Ways.java
Decode Ways.java
Distinct Subsequences.java
Distinct Subsequences.java
Divide Two Integers.java
Divide Two Integers.java
Edit Distance.java
Edit Distance.java
Evaluate Reverse Polish Notation.java
Evaluate Reverse Polish Notation.java
First Missing Positive.java
First Missing Positive.java
Flatten Binary Tree to Linked List.java
Flatten Binary Tree to Linked List.java
Gas Station.java
Gas Station.java
Generate Parentheses.java
Generate Parentheses.java
Gray Code.java
Gray Code.java
Implement strStr().java
Implement strStr().java
Insert Interval.java
Insert Interval.java
Insertion Sort List.java
Insertion Sort List.java
Integer to Roman.java
Integer to Roman.java
Interleaving String.java
Interleaving String.java
Jump Game II.java
Jump Game II.java
Jump Game.java
Jump Game.java
LRU Cache.java
LRU Cache.java
Largest Rectangle in Histogram.java
Largest Rectangle in Histogram.java
Length of Last Word.java
Length of Last Word.java
Letter Combinations of a Phone Number.java
Letter Combinations of a Phone Number.java
Linked List Cycle II.java
Linked List Cycle II.java
Linked List Cycle.java
Linked List Cycle.java
Longest Common Prefix.java
Longest Common Prefix.java
Longest Consecutive Sequence.java
Longest Consecutive Sequence.java
Longest Palindromic Substring.java
Longest Palindromic Substring.java
Longest Substring Without Repeating Characters.java
Longest Substring Without Repeating Characters.java
Longest Valid Parentheses.java
Longest Valid Parentheses.java
Max Points on a Line.java
Max Points on a Line.java
Maximal Rectangle.java
Maximal Rectangle.java
Maximum Depth of Binary Tree.java
Maximum Depth of Binary Tree.java
Maximum Subarray.java
Maximum Subarray.java
Median of Two Sorted Arrays.java
Median of Two Sorted Arrays.java
Merge Intervals.java
Merge Intervals.java
Merge Sorted Array.java
Merge Sorted Array.java
Merge Two Sorted Lists.java
Merge Two Sorted Lists.java
Merge k Sorted Lists.java
Merge k Sorted Lists.java
Minimum Depth of Binary Tree.java
Minimum Depth of Binary Tree.java
Minimum Path Sum.java
Minimum Path Sum.java
Minimum Window Substring.java
Minimum Window Substring.java
Multiply Strings.java
Multiply Strings.java
N-Queens II.java
N-Queens II.java
N-Queens.java
N-Queens.java
Next Permutation.java
Next Permutation.java
Palindrome Number.java
Palindrome Number.java
Palindrome Partitioning II.java
Palindrome Partitioning II.java
Palindrome Partitioning.java
Palindrome Partitioning.java
Partition List.java
Partition List.java
Pascal's Triangle II.java
Pascal's Triangle II.java
Pascal's Triangle.java
Pascal's Triangle.java
Path Sum II.java
Path Sum II.java
Path Sum.java
Path Sum.java
Permutation Sequence.java
Permutation Sequence.java
Permutations II.java
Permutations II.java
Permutations.java
Permutations.java
Plus One.java
Plus One.java
Populating Next Right Pointers in Each Node II.java
Populating Next Right Pointers in Each Node II.java
Populating Next Right Pointers in Each Node.java
Populating Next Right Pointers in Each Node.java
Pow(x, n).java
Pow(x, n).java
README
README
Recover Binary Search Tree.java
Recover Binary Search Tree.java
Regular Expression Matching.java
Regular Expression Matching.java
Remove Duplicates from Sorted Array II.java
Remove Duplicates from Sorted Array II.java
Remove Duplicates from Sorted Array.java
Remove Duplicates from Sorted Array.java
Remove Duplicates from Sorted List II.java
Remove Duplicates from Sorted List II.java
Remove Duplicates from Sorted List.java
Remove Duplicates from Sorted List.java
Remove Element.java
Remove Element.java
Remove Nth Node From End of List.java
Remove Nth Node From End of List.java
Reorder List.java
Reorder List.java
Restore IP Addresses.java
Restore IP Addresses.java
View all files
Repository files navigation
README
leetcode practise.
About
Answers for leetcode
Resources
Readme
Uh oh!
There was an error while loading.
Please reload this page
.
Activity
Stars
24
stars
Watchers
3
watching
Forks
23
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
100.0%
You can’t perform that action at this time.