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 }}
flowingrain
LeetCode-java
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
LeetCode-java
Public
Notifications
You must be signed in to change notification settings
Fork
1
(
1
)
Star
1
(
1
)
You must be signed in to star a repository
About
Answer of LeetCode questions in Java
Resources
Readme
Activity
Stars
1
star
Watchers
1
watching
Forks
1
fork
Report repository
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
86 Commits
86 Commits
Folders and files
Name
Name
Last commit message
Last commit date
.idea
.idea
AddDigits.java
AddDigits.java
Atoi.java
Atoi.java
E350_IntersetctionofTwoArraysII.java
E350_IntersetctionofTwoArraysII.java
E367_ValidPerfectSquare.java
E367_ValidPerfectSquare.java
H10_RegularExpressionMatching.java
H10_RegularExpressionMatching.java
H23_MergeKSortedLists.java
H23_MergeKSortedLists.java
H25_ReverseNodesInKGroup.java
H25_ReverseNodesInKGroup.java
L100_SameTree.java
L100_SameTree.java
L101_SymmetricTree.java
L101_SymmetricTree.java
L102_BinaryTreeLevelOrderTraversal.java
L102_BinaryTreeLevelOrderTraversal.java
L104_MaxDepthOfBinaryTree.java
L104_MaxDepthOfBinaryTree.java
L107_BinaryTreeLevelOrderTraversalII.java
L107_BinaryTreeLevelOrderTraversalII.java
L108_ConvertSortedArray2BinarySearchTree.java
L108_ConvertSortedArray2BinarySearchTree.java
L110_BalancedBinaryTree.java
L110_BalancedBinaryTree.java
L111_MinimumDepthOfBinaryTree.java
L111_MinimumDepthOfBinaryTree.java
L113.java
L113.java
L113Others.java
L113Others.java
L118_PascalTriangle.java
L118_PascalTriangle.java
L119_PascalTriangleII.java
L119_PascalTriangleII.java
L121_BestTime2BuyAndSellStock.java
L121_BestTime2BuyAndSellStock.java
L122_BestTime2BuyAndSellStockII.java
L122_BestTime2BuyAndSellStockII.java
L125_ValidPalindrome.java
L125_ValidPalindrome.java
L136_SingleNumber.java
L136_SingleNumber.java
L137_SingleNumberII.java
L137_SingleNumberII.java
L138_CopyListWithRandomPointer.java
L138_CopyListWithRandomPointer.java
L139_WordBreak.java
L139_WordBreak.java
L13_Roman2Integer.java
L13_Roman2Integer.java
L141_LinkedListCycle.java
L141_LinkedListCycle.java
L142_LinkedListCycleII.java
L142_LinkedListCycleII.java
L143_RecordList.java
L143_RecordList.java
L144_BinaryTreePreorderTraversal.java
L144_BinaryTreePreorderTraversal.java
L147_InsertionSortList.java
L147_InsertionSortList.java
L148_SortList.java
L148_SortList.java
L14_LongestCommonPrefix.java
L14_LongestCommonPrefix.java
L150_EvaluateReversePolishNotation.java
L150_EvaluateReversePolishNotation.java
L155_MinStack.java
L155_MinStack.java
L160_IntersectionOfTwoLinkedLists.java
L160_IntersectionOfTwoLinkedLists.java
L167_TwoSumII_InputArraySorted.java
L167_TwoSumII_InputArraySorted.java
L168_ExcelSheetColumnTitle.java
L168_ExcelSheetColumnTitle.java
L169_MajorityElement.java
L169_MajorityElement.java
L171_ExcelSheetColumnNumber.java
L171_ExcelSheetColumnNumber.java
L172_FactorialTrailingZeroes.java
L172_FactorialTrailingZeroes.java
L189_RotateArray.java
L189_RotateArray.java
L190_ReverseBits.java
L190_ReverseBits.java
L191_NumberOf1Bits.java
L191_NumberOf1Bits.java
L198_HouseRobber.java
L198_HouseRobber.java
L202_HappyNumber.java
L202_HappyNumber.java
L203_RemoveLinkedListElements.java
L203_RemoveLinkedListElements.java
L204_CountPrimes.java
L204_CountPrimes.java
L205_IsomorphicStrings.java
L205_IsomorphicStrings.java
L206_ReverseLinkedList.java
L206_ReverseLinkedList.java
L20_ValidParentheses.java
L20_ValidParentheses.java
L214_ShortestPalindrome.java
L214_ShortestPalindrome.java
L217_ContainsDuplicate.java
L217_ContainsDuplicate.java
L219_ContainsDuplicateII.java
L219_ContainsDuplicateII.java
L21_MergeTwoSortedLists.java
L21_MergeTwoSortedLists.java
L220_ContainsDuplicateIII.java
L220_ContainsDuplicateIII.java
L225_ImplementStackUsingQueues.java
L225_ImplementStackUsingQueues.java
L226_InvertBinaryTree.java
L226_InvertBinaryTree.java
L231_PowerOfTwo.java
L231_PowerOfTwo.java
L232_ImplementQueueUsingStacks.java
L232_ImplementQueueUsingStacks.java
L234_PalindromeLinkedList.java
L234_PalindromeLinkedList.java
L235_LowestCommonAncestorOfABinarySearchTree.java
L235_LowestCommonAncestorOfABinarySearchTree.java
L237_DeleteNodeinaLinkedList.java
L237_DeleteNodeinaLinkedList.java
L240_SearchA2DMatrixII.java
L240_SearchA2DMatrixII.java
L242_ValidAnagram.java
L242_ValidAnagram.java
L249_GroupShiftedStrings.java
L249_GroupShiftedStrings.java
L257_BinaryTreePaths.java
L257_BinaryTreePaths.java
L260_SingleNumberIII.java
L260_SingleNumberIII.java
L263_UglyNumber.java
L263_UglyNumber.java
L264_UglyNumberII.java
L264_UglyNumberII.java
L268_MissingNumber.java
L268_MissingNumber.java
L274_H_Index.java
L274_H_Index.java
L275_H_IndexII.java
L275_H_IndexII.java
L279_PerfectSquares.java
L279_PerfectSquares.java
L27_RemoveElement.java
L27_RemoveElement.java
L287_FindTheDuplicateNumber.java
L287_FindTheDuplicateNumber.java
L289_GameOfLife.java
L289_GameOfLife.java
L28_ImplementStr.java
L28_ImplementStr.java
L290_WordPattern.java
L290_WordPattern.java
L292_NimGame.java
L292_NimGame.java
L299_BullsAndCows.java
L299_BullsAndCows.java
L2_AddTwoNumbers.java
L2_AddTwoNumbers.java
L300_LongestIncresingSubsequence.java
L300_LongestIncresingSubsequence.java
L303_RangeSumQuery_Immutable.java
L303_RangeSumQuery_Immutable.java
L304_RangeSumQuery2D_Immutable.java
L304_RangeSumQuery2D_Immutable.java
L306_AdditiveNumber.java
L306_AdditiveNumber.java
L307_RangeSumQuery_Mutable.java
L307_RangeSumQuery_Mutable.java
L309_BestTimetoBuyandSellStockwithCooldown.java
L309_BestTimetoBuyandSellStockwithCooldown.java
L310_MinumumHeightTrees.java
L310_MinumumHeightTrees.java
L313_SuperUglyNumber.java
L313_SuperUglyNumber.java
L342_PowerOfFour.java
L342_PowerOfFour.java
L344_ReverseString.java
L344_ReverseString.java
L345_ReverseVowelsofaString.java
L345_ReverseVowelsofaString.java
L349_IntersectionofTwoArrays.java
L349_IntersectionofTwoArrays.java
L355_DesignTwitter.java
L355_DesignTwitter.java
L35_SearchInsertPosition.java
L35_SearchInsertPosition.java
L38_CountAndSay.java
L38_CountAndSay.java
L3_LongestSubstringWithoutRepeatingCharacters.java
L3_LongestSubstringWithoutRepeatingCharacters.java
View all files
Repository files navigation
README
More
items
LeetCode-java
Answer of LeetCode questions in Java
About
Answer of LeetCode questions in Java
Resources
Readme
Activity
Stars
1
star
Watchers
1
watching
Forks
1
fork
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.