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
Events
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 }}
code0era
LeetCode
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
LeetCode
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
1
(
1
)
You must be signed in to star a repository
About
No description, website, or topics provided.
Activity
Stars
1
star
Watchers
0
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
481 Commits
481 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1-TwoSum
1-TwoSum
100-SameTree
100-SameTree
1001-NRepeatedElementInSize2nArray
1001-NRepeatedElementInSize2nArray
101-SymmetricTree
101-SymmetricTree
1013-FibonacciNumber
1013-FibonacciNumber
1018-LargestPerimeterTriangle
1018-LargestPerimeterTriangle
102-BinaryTreeLevelOrderTraversal
102-BinaryTreeLevelOrderTraversal
103-BinaryTreeZigzagLevelOrderTraversal
103-BinaryTreeZigzagLevelOrderTraversal
104-MaximumDepthOfBinaryTree
104-MaximumDepthOfBinaryTree
105-ConstructBinaryTreeFromPreorderAndInorderTraversal
105-ConstructBinaryTreeFromPreorderAndInorderTraversal
1054-ComplementOfBase10Integer
1054-ComplementOfBase10Integer
1056-CapacityToShipPackagesWithinDDays
1056-CapacityToShipPackagesWithinDDays
106-ConstructBinaryTreeFromInorderAndPostorderTraversal
106-ConstructBinaryTreeFromInorderAndPostorderTraversal
1071-BinaryPrefixDivisibleBy5
1071-BinaryPrefixDivisibleBy5
1078-RemoveOutermostParentheses
1078-RemoveOutermostParentheses
1079-SumOfRootToLeafBinaryNumbers
1079-SumOfRootToLeafBinaryNumbers
1094-MatrixCellsInDistanceOrder
1094-MatrixCellsInDistanceOrder
11-ContainerWithMostWater
11-ContainerWithMostWater
110-BalancedBinaryTree
110-BalancedBinaryTree
111-MinimumDepthOfBinaryTree
111-MinimumDepthOfBinaryTree
1116-MaximumLevelSumOfABinaryTree
1116-MaximumLevelSumOfABinaryTree
112-PathSum
112-PathSum
114-FlattenBinaryTreeToLinkedList
114-FlattenBinaryTreeToLinkedList
118-PascalsTriangle
118-PascalsTriangle
119-PascalsTriangleIi
119-PascalsTriangleIi
121-BestTimeToBuyAndSellStock
121-BestTimeToBuyAndSellStock
124-BinaryTreeMaximumPathSum
124-BinaryTreeMaximumPathSum
125-ValidPalindrome
125-ValidPalindrome
1250-LongestCommonSubsequence
1250-LongestCommonSubsequence
128-LongestConsecutiveSequence
128-LongestConsecutiveSequence
1284-FourDivisors
1284-FourDivisors
1285-BalanceABinarySearchTree
1285-BalanceABinarySearchTree
1297-MaximumNumberOfBalloons
1297-MaximumNumberOfBalloons
13-RomanToInteger
13-RomanToInteger
1306-MinimumAbsoluteDifference
1306-MinimumAbsoluteDifference
1311-LargestMagicSquare
1311-LargestMagicSquare
136-SingleNumber
136-SingleNumber
138-CopyListWithRandomPointer
138-CopyListWithRandomPointer
1395-MinimumTimeVisitingAllPoints
1395-MinimumTimeVisitingAllPoints
14-LongestCommonPrefix
14-LongestCommonPrefix
1408-FindTheSmallestDivisorGivenAThreshold
1408-FindTheSmallestDivisorGivenAThreshold
141-LinkedListCycle
141-LinkedListCycle
1413-MaximumSideLengthOfASquareWithSumLessThanOrEqualToThreshold
1413-MaximumSideLengthOfASquareWithSumLessThanOrEqualToThreshold
142-LinkedListCycleIi
142-LinkedListCycleIi
1428-JumpGameIii
1428-JumpGameIii
144-BinaryTreePreorderTraversal
144-BinaryTreePreorderTraversal
1443-MinimumDistanceToTypeAWordUsingTwoFingers
1443-MinimumDistanceToTypeAWordUsingTwoFingers
1446-AngleBetweenHandsOfAClock
1446-AngleBetweenHandsOfAClock
1447-JumpGameIv
1447-JumpGameIv
145-BinaryTreePostorderTraversal
145-BinaryTreePostorderTraversal
1458-SortIntegersByTheNumberOf1Bits
1458-SortIntegersByTheNumberOf1Bits
1460-NumberOfSubstringsContainingAllThreeCharacters
1460-NumberOfSubstringsContainingAllThreeCharacters
1465-MaximumProductOfSplittedBinaryTree
1465-MaximumProductOfSplittedBinaryTree
1466-JumpGameV
1466-JumpGameV
1476-CountNegativeNumbersInASortedMatrix
1476-CountNegativeNumbersInASortedMatrix
148-SortList
148-SortList
15-3sum
15-3sum
1507-CheckIfThereIsAValidPathInAGrid
1507-CheckIfThereIsAValidPathInAGrid
151-ReverseWordsInAString
151-ReverseWordsInAString
1516-TheKThLexicographicalStringOfAllHappyStringsOfLengthN
1516-TheKThLexicographicalStringOfAllHappyStringsOfLengthN
152-MaximumProductSubarray
152-MaximumProductSubarray
1520-NumberOfStepsToReduceANumberInBinaryRepresentationToOne
1520-NumberOfStepsToReduceANumberInBinaryRepresentationToOne
1527-NumberOfWaysToPaintN3Grid
1527-NumberOfWaysToPaintN3Grid
153-FindMinimumInRotatedSortedArray
153-FindMinimumInRotatedSortedArray
154-FindMinimumInRotatedSortedArrayIi
154-FindMinimumInRotatedSortedArrayIi
1548-CheckIfAll1sAreAtLeastLengthKPlacesAway
1548-CheckIfAll1sAreAtLeastLengthKPlacesAway
155-MinStack
155-MinStack
1557-CheckIfAStringContainsAllBinaryCodesOfSizeK
1557-CheckIfAStringContainsAllBinaryCodesOfSizeK
1569-MaxDotProductOfTwoSubsequences
1569-MaxDotProductOfTwoSubsequences
160-IntersectionOfTwoLinkedLists
160-IntersectionOfTwoLinkedLists
1605-MinimumNumberOfDaysToMakeMBouquets
1605-MinimumNumberOfDaysToMakeMBouquets
162-FindPeakElement
162-FindPeakElement
1630-CountOddNumbersInAnIntervalRange
1630-CountOddNumbersInAnIntervalRange
1642-WaterBottles
1642-WaterBottles
1646-KthMissingPositiveNumber
1646-KthMissingPositiveNumber
1658-MinimumSwapsToArrangeABinaryGrid
1658-MinimumSwapsToArrangeABinaryGrid
1663-DetectCyclesIn2dGrid
1663-DetectCyclesIn2dGrid
1667-FindKthBitInNthBinaryString
1667-FindKthBitInNthBinaryString
167-TwoSumIiInputArrayIsSorted
167-TwoSumIiInputArrayIsSorted
169-MajorityElement
169-MajorityElement
1704-SpecialPositionsInABinaryMatrix
1704-SpecialPositionsInABinaryMatrix
171-ExcelSheetColumnNumber
171-ExcelSheetColumnNumber
1716-MaximumNonNegativeProductInAMatrix
1716-MaximumNonNegativeProductInAMatrix
1728-FancySequence
1728-FancySequence
1737-MaximumNestingDepthOfTheParentheses
1737-MaximumNestingDepthOfTheParentheses
1756-MinimumDeletionsToMakeStringBalanced
1756-MinimumDeletionsToMakeStringBalanced
1784-MinimumInitialEnergyToFinishTasks
1784-MinimumInitialEnergyToFinishTasks
1793-MinimumMovesToMakeArrayComplementary
1793-MinimumMovesToMakeArrayComplementary
18-4sum
18-4sum
1800-ConcatenationOfConsecutiveBinaryNumbers
1800-ConcatenationOfConsecutiveBinaryNumbers
1807-PartitioningIntoMinimumNumberOfDeciBinaryNumbers
1807-PartitioningIntoMinimumNumberOfDeciBinaryNumbers
1833-FindTheHighestAltitude
1833-FindTheHighestAltitude
1840-MinimizeHammingDistanceAfterSwapOperations
1840-MinimizeHammingDistanceAfterSwapOperations
1845-LargestSubmatrixWithRearrangements
1845-LargestSubmatrixWithRearrangements
1878-CheckIfArrayIsSortedAndRotated
1878-CheckIfArrayIsSortedAndRotated
1884-MinimumChangesToMakeAlternatingBinaryString
1884-MinimumChangesToMakeAlternatingBinaryString
189-RotateArray
189-RotateArray
1890-SumOfBeautyOfAllSubstrings
1890-SumOfBeautyOfAllSubstrings
19-RemoveNthNodeFromEndOfList
19-RemoveNthNodeFromEndOfList
190-ReverseBits
190-ReverseBits
View all files
About
No description, website, or topics provided.
Activity
Stars
1
star
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.