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 }}
kabothu
/
CodingInterview
Public
forked from
surajr/CodingInterview
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
145041b48df87cc9efa3f03f7a6d15f3e62fc58e
Breadcrumbs
CodingInterview
/
java
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
145041b
Breadcrumbs
CodingInterview
/
java
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
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
MaximumProduct.java
MaximumProduct.java
MaximumProductSubArray.java
MaximumProductSubArray.java
MaximumSumSubArray.java
MaximumSumSubArray.java
MinStack.java
MinStack.java
MovingAverage.java
MovingAverage.java
MyStack.java
MyStack.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
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
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
countBits.java
countBits.java
deleteDuplicates.java
deleteDuplicates.java
deleteNode.java
deleteNode.java
depthSum.java
depthSum.java
detectCapitalUse.java
detectCapitalUse.java
diameterOfBinaryTree.java
diameterOfBinaryTree.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
findTarget.java
findTarget.java
findTheDifference.java
findTheDifference.java
findWords.java
findWords.java
fourSumCount.java
fourSumCount.java
generateParenthesis.java
generateParenthesis.java
generatePossibleNextMoves.java
generatePossibleNextMoves.java
getImportance.java
getImportance.java
getMinimumDifference.java
getMinimumDifference.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
isValid.java
isValid.java
largestNumber.java
largestNumber.java
leastInterval.java
leastInterval.java
lengthLongestPath.java
lengthLongestPath.java
lengthOfLongestSubstring.java
lengthOfLongestSubstring.java
lengthOfLongestSubstringKDistinct.java
lengthOfLongestSubstringKDistinct.java
licenseKeyFormatting.java
licenseKeyFormatting.java
longestConsecutive.java
longestConsecutive.java
longestUnivaluePath.java
longestUnivaluePath.java
majorityElement.java
majorityElement.java
matrixReshape.java
matrixReshape.java
maxArea.java
maxArea.java
maxCount.java
maxCount.java
maxDistance.java
maxDistance.java
maxProfit.java
maxProfit.java
maxProfitWithFee.java
maxProfitWithFee.java
maximumProduct.java
maximumProduct.java
merge.java
merge.java
mergeInterval.java
mergeInterval.java
mergeKLists.java
mergeKLists.java
mergeTrees.java
mergeTrees.java
View all files
You can’t perform that action at this time.