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
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
Type
/
to 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 }}
surajr
/
CodingInterview
Public
Notifications
You must be signed in to change notification settings
Fork
38
Star
73
Code
Issues
0
Pull requests
1
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
CodingInterview
/
java
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
CodingInterview
/
java
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
.DS_Store
.DS_Store
3sum.java
3sum.java
BSTIterator.java
BSTIterator.java
BuddyStrings.java
BuddyStrings.java
CanPlaceFlowers.java
CanPlaceFlowers.java
CheckEqualTrees.java
CheckEqualTrees.java
Codec.java
Codec.java
ConstructMaximumBinaryTree.java
ConstructMaximumBinaryTree.java
CountSubstrings.java
CountSubstrings.java
FindMaxLength.java
FindMaxLength.java
FirstBadVersion.java
FirstBadVersion.java
FirstUniqChar.java
FirstUniqChar.java
MapSum.java
MapSum.java
MapSumii.java
MapSumii.java
MaximumProduct.java
MaximumProduct.java
MaximumProductSubArray.java
MaximumProductSubArray.java
MaximumSumSubArray.java
MaximumSumSubArray.java
MinStack.java
MinStack.java
MovingAverage.java
MovingAverage.java
MyStack.java
MyStack.java
PalindromePartition.java
PalindromePartition.java
PermuteCasewise.java
PermuteCasewise.java
QueueUsingStacks.java
QueueUsingStacks.java
TwoSum.java
TwoSum.java
UniquePaths.java
UniquePaths.java
ZigZag.java
ZigZag.java
addOneRow.java
addOneRow.java
addTwoNumbers.java
addTwoNumbers.java
addTwoNumbersLL.java
addTwoNumbersLL.java
anagramMappings.java
anagramMappings.java
arrayPairSum.java
arrayPairSum.java
averageOfLevels.java
averageOfLevels.java
bulbSwitch.java
bulbSwitch.java
canConstruct.java
canConstruct.java
canPermutePalindrome.java
canPermutePalindrome.java
canPlaceFlowers.java
canPlaceFlowers.java
checkInclusion.java
checkInclusion.java
checkRecord.java
checkRecord.java
climbStairs.java
climbStairs.java
combinationSum.java
combinationSum.java
combinationSumii.java
combinationSumii.java
compareVersion.java
compareVersion.java
complexNumberMultiply.java
complexNumberMultiply.java
computeArea.java
computeArea.java
containsDuplicate.java
containsDuplicate.java
containsNearbyAlmostDuplicate.java
containsNearbyAlmostDuplicate.java
containsNearbyDuplicate.java
containsNearbyDuplicate.java
convertToTitle.java
convertToTitle.java
countBattleships.java
countBattleships.java
countBits.java
countBits.java
countPrimes.java
countPrimes.java
deleteDuplicates.java
deleteDuplicates.java
deleteNode.java
deleteNode.java
depthSum.java
depthSum.java
detectCapitalUse.java
detectCapitalUse.java
diameterOfBinaryTree.java
diameterOfBinaryTree.java
findBottomLeftValue.java
findBottomLeftValue.java
findDuplicates.java
findDuplicates.java
findLHS.java
findLHS.java
findLUSlength.java
findLUSlength.java
findLengthOfLCIS.java
findLengthOfLCIS.java
findLongestChain.java
findLongestChain.java
findLongestWord.java
findLongestWord.java
findMaxAverage.java
findMaxAverage.java
findMaxConsecutiveOnes.java
findMaxConsecutiveOnes.java
findPairs.java
findPairs.java
findRelativeRanks.java
findRelativeRanks.java
findRepeatedDnaSequences.java
findRepeatedDnaSequences.java
findTarget.java
findTarget.java
findTheDifference.java
findTheDifference.java
findUnsortedSubarray.java
findUnsortedSubarray.java
findWords.java
findWords.java
fizzbuzz.java
fizzbuzz.java
fourSumCount.java
fourSumCount.java
generateParenthesis.java
generateParenthesis.java
generatePossibleNextMoves.java
generatePossibleNextMoves.java
getImportance.java
getImportance.java
getMinimumDifference.java
getMinimumDifference.java
grayCode.java
grayCode.java
hammingDistance.java
hammingDistance.java
hammingWeight.java
hammingWeight.java
inorderSuccessor.java
inorderSuccessor.java
inorderTraversal.java
inorderTraversal.java
insertInterval.java
insertInterval.java
insertionSortList.java
insertionSortList.java
intToRoman.java
intToRoman.java
intersect.java
intersect.java
intersection.java
intersection.java
isAnagram.java
isAnagram.java
isBalanced.java
isBalanced.java
isIsomorphic.java
isIsomorphic.java
isPalindrome.java
isPalindrome.java
isPalindromeList.java
isPalindromeList.java
isSubtree.java
isSubtree.java
isSymmetric.java
isSymmetric.java
isUnivalTree.java
isUnivalTree.java
isValid.java
isValid.java
largestNumber.java
largestNumber.java
largestPalindrome.java
largestPalindrome.java
leastInterval.java
leastInterval.java
View all files
You can’t perform that action at this time.