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 }}
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.