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 }}
samyam81
LeetCode_Questions
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
LeetCode_Questions
/
Java
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
main
Breadcrumbs
LeetCode_Questions
/
Java
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
Anagram.java
Anagram.java
ArrangeCoin.java
ArrangeCoin.java
BasicCalculator1.java
BasicCalculator1.java
BasicCalculator2.java
BasicCalculator2.java
BitReverse.java
BitReverse.java
Candie_kids.java
Candie_kids.java
CommonElements.java
CommonElements.java
ComplementOFBase10Integer.java
ComplementOFBase10Integer.java
ContainerWithMostWater.java
ContainerWithMostWater.java
ContainsDuplicate.java
ContainsDuplicate.java
CountPrime.java
CountPrime.java
EvaluateBooleanTree.java
EvaluateBooleanTree.java
FaultyKeyboard.java
FaultyKeyboard.java
FirstUniqueCharacter.java
FirstUniqueCharacter.java
Foo.java
Foo.java
GuessGamer.java
GuessGamer.java
Happynumber.java
Happynumber.java
IsomorphicStrings.java
IsomorphicStrings.java
LastWord.java
LastWord.java
LinkedListCycle.java
LinkedListCycle.java
LongPALIN.java
LongPALIN.java
MajorityElement.java
MajorityElement.java
MaxProduct.java
MaxProduct.java
MinimumCost.java
MinimumCost.java
Monotonic.java
Monotonic.java
PATHCROSSING.java
PATHCROSSING.java
PalindromePartioning.java
PalindromePartioning.java
Parentheses.java
Parentheses.java
Pascal.java
Pascal.java
PerfectNum.java
PerfectNum.java
PermutationsI.java
PermutationsI.java
PlusOne.java
PlusOne.java
Power.java
Power.java
PurfectSquare.java
PurfectSquare.java
RelativeRanks.java
RelativeRanks.java
RemoveDUP.java
RemoveDUP.java
RemoveELE.java
RemoveELE.java
RemoveLeaf.java
RemoveLeaf.java
ReverseInt.java
ReverseInt.java
ReverseLinkedList.java
ReverseLinkedList.java
ReverseVowel.java
ReverseVowel.java
SameTree.java
SameTree.java
ScoreAfterFlippingMatrix.java
ScoreAfterFlippingMatrix.java
ShortestPalindrome.java
ShortestPalindrome.java
SingleNumberII.java
SingleNumberII.java
SingleNumberIII.java
SingleNumberIII.java
SmallFraction.java
SmallFraction.java
SpecialArray.java
SpecialArray.java
Sqrt.java
Sqrt.java
Subsequence.java
Subsequence.java
SubstringEquality.java
SubstringEquality.java
SumXOR.java
SumXOR.java
ThreeSum.java
ThreeSum.java
TreeNode.java
TreeNode.java
UglyNumberII.java
UglyNumberII.java
ZeroEvenOdd.java
ZeroEvenOdd.java
ZeroMove.java
ZeroMove.java
adddigits.java
adddigits.java
base7.java
base7.java
count1.java
count1.java
dividee.java
dividee.java
firstPALIN.java
firstPALIN.java
kthelement.java
kthelement.java
kthlargest.java
kthlargest.java
maxaverage.java
maxaverage.java
maxsubarray.java
maxsubarray.java
missingnumber.java
missingnumber.java
movezero1.java
movezero1.java
oxygenSemaphore.java
oxygenSemaphore.java
palindrome.java
palindrome.java
recursionPOWER.java
recursionPOWER.java
romanToINT.java
romanToINT.java
rotateArray.java
rotateArray.java
singlenum.java
singlenum.java
stock.java
stock.java
target.java
target.java
View all files
You can’t perform that action at this time.