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 }}
trilamsr
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
0
(
0
)
You must be signed in to star a repository
About
Having fun with LeetCode
Activity
Stars
0
stars
Watchers
2
watching
Forks
0
forks
Report repository
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
54 Commits
54 Commits
Folders and files
Name
Name
Last commit message
Last commit date
0 Techniques Explanation
0 Techniques Explanation
0000_HowManyCombinationsToModTarget
0000_HowManyCombinationsToModTarget
0001_TwoSum
0001_TwoSum
0002_AddTwoNumbers
0002_AddTwoNumbers
0003_LongestSubstringWithoutRepeatingCharacters
0003_LongestSubstringWithoutRepeatingCharacters
0004_MedianOfTwoSortedArrays
0004_MedianOfTwoSortedArrays
0005_LongestPalindromicSubstring
0005_LongestPalindromicSubstring
0006_ZigZagConversion
0006_ZigZagConversion
0007_ReverseInteger
0007_ReverseInteger
0008_StringToInteger(atoi)
0008_StringToInteger(atoi)
0011_ContainerWithMostWater
0011_ContainerWithMostWater
0015_3Sum
0015_3Sum
0016_3SumClosest
0016_3SumClosest
0017_LetterCombinationsofaPhoneNumber
0017_LetterCombinationsofaPhoneNumber
0019_RemoveNthNodeFromEndofList
0019_RemoveNthNodeFromEndofList
0020_ValidParentheses
0020_ValidParentheses
0021_MergeTwoSortedList
0021_MergeTwoSortedList
0022_GenerateParentheses
0022_GenerateParentheses
0023_MergeKSortedList
0023_MergeKSortedList
0024_SwapNodesInPairs
0024_SwapNodesInPairs
0031_NextPermutation
0031_NextPermutation
0033_SearchInRotatedSortedArray
0033_SearchInRotatedSortedArray
0034_FindFirstAndLastPositionOfElementInSortedArray
0034_FindFirstAndLastPositionOfElementInSortedArray
0038_CountAndSay
0038_CountAndSay
0039_CombinationSum
0039_CombinationSum
0042_MultiplyStrings
0042_MultiplyStrings
0042_TrappingRainWater
0042_TrappingRainWater
0046_Permutations
0046_Permutations
0048_RotateImage
0048_RotateImage
0049_GroupAnagrams
0049_GroupAnagrams
0052_MaximumSubarray
0052_MaximumSubarray
0054_SpiralMatrix
0054_SpiralMatrix
0056_MergeIntervals
0056_MergeIntervals
0059_SpiralMatrixII
0059_SpiralMatrixII
0062_UniquePaths
0062_UniquePaths
0063_UniquePaths2
0063_UniquePaths2
0064_MinimumPathSum
0064_MinimumPathSum
0070_ClimbingStairs
0070_ClimbingStairs
0072_EditDistance
0072_EditDistance
0073_SetMatrixZeroes
0073_SetMatrixZeroes
0075_SortColors
0075_SortColors
0077_Combinations
0077_Combinations
0078_Subsets
0078_Subsets
0079_WordSearch
0079_WordSearch
0082_RemoveDuplicatesfromSortedListII
0082_RemoveDuplicatesfromSortedListII
0083_RemoveDuplicatesfromSortedList
0083_RemoveDuplicatesfromSortedList
0086_PartitionList
0086_PartitionList
0094_BinaryTreeInorderTraversal
0094_BinaryTreeInorderTraversal
0098_ValidateBinarySearchTree
0098_ValidateBinarySearchTree
0100_IsSameTree
0100_IsSameTree
0102_BinaryTreeLevelOrderTraversal
0102_BinaryTreeLevelOrderTraversal
0103_BinaryTreeZigzagLevelOrderTraversal
0103_BinaryTreeZigzagLevelOrderTraversal
0104_MaximumDepthofBinaryTree
0104_MaximumDepthofBinaryTree
0105_ConstructBinaryTreefromPreorderandInorderTraversal
0105_ConstructBinaryTreefromPreorderandInorderTraversal
0106_ConstructBinaryTreefromInorderandPostorderTraversal
0106_ConstructBinaryTreefromInorderandPostorderTraversal
0108_ConvertSortedArraytoBinarySearchTree
0108_ConvertSortedArraytoBinarySearchTree
0109_ConvertSortedListtoBinarySearchTree
0109_ConvertSortedListtoBinarySearchTree
0111_MinimumDepthofBinaryTree
0111_MinimumDepthofBinaryTree
0112_PathSum
0112_PathSum
0116_PopulatingNextRightPointersinEachNode
0116_PopulatingNextRightPointersinEachNode
0121_BestTimetoBuyandSellStock
0121_BestTimetoBuyandSellStock
0122_BestTimetoBuyandSellStockII
0122_BestTimetoBuyandSellStockII
0125_ValidPalindrome
0125_ValidPalindrome
0127_WordLadder
0127_WordLadder
0128_LongestConsecutiveSequence
0128_LongestConsecutiveSequence
0133_CloneGraph
0133_CloneGraph
0138_CopyListwithRandomPointer
0138_CopyListwithRandomPointer
0141_LinkedListCycle
0141_LinkedListCycle
0142_LinkedListCycleII
0142_LinkedListCycleII
0143_ReorderList
0143_ReorderList
0144_BinaryTreePreorderTraversal
0144_BinaryTreePreorderTraversal
0150_EvaluateReversePolishNotation
0150_EvaluateReversePolishNotation
0155_MinStack
0155_MinStack
0162_FindPeakElement
0162_FindPeakElement
0189_RotateArray
0189_RotateArray
0190_ReverseBits
0190_ReverseBits
0191_Numberof1Bits
0191_Numberof1Bits
0198_HouseRobber
0198_HouseRobber
0200_NumberOfIslands
0200_NumberOfIslands
0206_ReverseLinkedList
0206_ReverseLinkedList
0209_MinimumSizeSubarraySum
0209_MinimumSizeSubarraySum
0215_KthLargestElementinanArray
0215_KthLargestElementinanArray
0217_ContainsDuplicate
0217_ContainsDuplicate
0223_RectangleArea
0223_RectangleArea
0230_KthSmallestElementinaBST
0230_KthSmallestElementinaBST
0235_LowestCommonAncestorofaBinarySearchTree
0235_LowestCommonAncestorofaBinarySearchTree
0236_LowestCommonAncestorofaBinaryTree
0236_LowestCommonAncestorofaBinaryTree
0238_ProductofArrayExceptSelf
0238_ProductofArrayExceptSelf
0268_MissingNumber
0268_MissingNumber
0283_MoveZeroes
0283_MoveZeroes
0306_AdditiveNumber
0306_AdditiveNumber
0328_OddEvenLinkedList
0328_OddEvenLinkedList
0347_TopKFrequentElements
0347_TopKFrequentElements
0349_IntersectionOfTwoArray
0349_IntersectionOfTwoArray
0373_FindKPairsWithSmallestSum
0373_FindKPairsWithSmallestSum
0387_FirstUniqueCharacterinaString
0387_FirstUniqueCharacterinaString
0392_IsSubsequence
0392_IsSubsequence
0401_BinaryWatch
0401_BinaryWatch
0415_AddStrings
0415_AddStrings
0417_PacificAtlanticWaterFlow
0417_PacificAtlanticWaterFlow
View all files
About
Having fun with LeetCode
Activity
Stars
0
stars
Watchers
2
watching
Forks
0
forks
Report repository
Releases
Packages
Used by
Contributors
Languages
You can’t perform that action at this time.