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
Accelerator
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
Type
/
to 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 }}
moromin
/
leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
main
Branches
Tags
Go to file
Code
Open more actions menu
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
1,045 Commits
1,045 Commits
0001-two-sum
0001-two-sum
0002-add-two-numbers
0002-add-two-numbers
0003-longest-substring-without-repeating-characters
0003-longest-substring-without-repeating-characters
0006-zigzag-conversion
0006-zigzag-conversion
0036-valid-sudoku
0036-valid-sudoku
0039-combination-sum
0039-combination-sum
0048-rotate-image
0048-rotate-image
0049-group-anagrams
0049-group-anagrams
0054-spiral-matrix
0054-spiral-matrix
0055-jump-game
0055-jump-game
0056-merge-intervals
0056-merge-intervals
0057-insert-interval
0057-insert-interval
0062-unique-paths
0062-unique-paths
0070-climbing-stairs
0070-climbing-stairs
0073-set-matrix-zeroes
0073-set-matrix-zeroes
0078-subsets
0078-subsets
0098-validate-binary-search-tree
0098-validate-binary-search-tree
0100-same-tree
0100-same-tree
0102-binary-tree-level-order-traversal
0102-binary-tree-level-order-traversal
0104-maximum-depth-of-binary-tree
0104-maximum-depth-of-binary-tree
0106-construct-binary-tree-from-inorder-and-postorder-traversal
0106-construct-binary-tree-from-inorder-and-postorder-traversal
0118-pascals-triangle
0118-pascals-triangle
0121-best-time-to-buy-and-sell-stock
0121-best-time-to-buy-and-sell-stock
0128-longest-consecutive-sequence
0128-longest-consecutive-sequence
0129-sum-root-to-leaf-numbers
0129-sum-root-to-leaf-numbers
0131-palindrome-partitioning
0131-palindrome-partitioning
0133-clone-graph
0133-clone-graph
0134-gas-station
0134-gas-station
0136-single-number
0136-single-number
0141-linked-list-cycle
0141-linked-list-cycle
0143-reorder-list
0143-reorder-list
0144-binary-tree-preorder-traversal
0144-binary-tree-preorder-traversal
0146-lru-cache
0146-lru-cache
0149-max-points-on-a-line
0149-max-points-on-a-line
0150-evaluate-reverse-polish-notation
0150-evaluate-reverse-polish-notation
0151-reverse-words-in-a-string
0151-reverse-words-in-a-string
0191-number-of-1-bits
0191-number-of-1-bits
0198-house-robber
0198-house-robber
0199-binary-tree-right-side-view
0199-binary-tree-right-side-view
0200-number-of-islands
0200-number-of-islands
0206-reverse-linked-list
0206-reverse-linked-list
0207-course-schedule
0207-course-schedule
0208-implement-trie-prefix-tree
0208-implement-trie-prefix-tree
0217-contains-duplicate
0217-contains-duplicate
0230-kth-smallest-element-in-a-bst
0230-kth-smallest-element-in-a-bst
0235-lowest-common-ancestor-of-a-binary-search-tree
0235-lowest-common-ancestor-of-a-binary-search-tree
0238-product-of-array-except-self
0238-product-of-array-except-self
0239-sliding-window-maximum
0239-sliding-window-maximum
0242-valid-anagram
0242-valid-anagram
0268-missing-number
0268-missing-number
0271-encode-and-decode-strings
0271-encode-and-decode-strings
0279-perfect-squares
0279-perfect-squares
0290-word-pattern
0290-word-pattern
0322-coin-change
0322-coin-change
0328-odd-even-linked-list
0328-odd-even-linked-list
0347-top-k-frequent-elements
0347-top-k-frequent-elements
0355-design-twitter
0355-design-twitter
0371-sum-of-two-integers
0371-sum-of-two-integers
0424-longest-repeating-character-replacement
0424-longest-repeating-character-replacement
0435-non-overlapping-intervals
0435-non-overlapping-intervals
0452-minimum-number-of-arrows-to-burst-balloons
0452-minimum-number-of-arrows-to-burst-balloons
0491-non-decreasing-subsequences
0491-non-decreasing-subsequences
0509-fibonacci-number
0509-fibonacci-number
0520-detect-capital
0520-detect-capital
0543-diameter-of-binary-tree
0543-diameter-of-binary-tree
0567-permutation-in-string
0567-permutation-in-string
0621-task-scheduler
0621-task-scheduler
0624-maximum-distance-in-arrays
0624-maximum-distance-in-arrays
0704-binary-search
0704-binary-search
0739-daily-temperatures
0739-daily-temperatures
0743-network-delay-time
0743-network-delay-time
0746-min-cost-climbing-stairs
0746-min-cost-climbing-stairs
0787-cheapest-flights-within-k-stops
0787-cheapest-flights-within-k-stops
0846-hand-of-straights
0846-hand-of-straights
0872-leaf-similar-trees
0872-leaf-similar-trees
0875-koko-eating-bananas
0875-koko-eating-bananas
0876-middle-of-the-linked-list
0876-middle-of-the-linked-list
0904-fruit-into-baskets
0904-fruit-into-baskets
0931-minimum-falling-path-sum
0931-minimum-falling-path-sum
0938-range-sum-of-bst
0938-range-sum-of-bst
0944-delete-columns-to-make-sorted
0944-delete-columns-to-make-sorted
0953-verifying-an-alien-dictionary
0953-verifying-an-alien-dictionary
0958-check-completeness-of-a-binary-tree
0958-check-completeness-of-a-binary-tree
0981-time-based-key-value-store
0981-time-based-key-value-store
0983-minimum-cost-for-tickets
0983-minimum-cost-for-tickets
0994-rotting-oranges
0994-rotting-oranges
101-symmetric-tree
101-symmetric-tree
1026-maximum-difference-between-node-and-ancestor
1026-maximum-difference-between-node-and-ancestor
1046-last-stone-weight
1046-last-stone-weight
108-convert-sorted-array-to-binary-search-tree
108-convert-sorted-array-to-binary-search-tree
112-path-sum
112-path-sum
114-flatten-binary-tree-to-linked-list
114-flatten-binary-tree-to-linked-list
1158-market-analysis-i
1158-market-analysis-i
117-populating-next-right-pointers-in-each-node-ii
117-populating-next-right-pointers-in-each-node-ii
1173-immediate-food-delivery-i
1173-immediate-food-delivery-i
1220-count-vowels-permutation
1220-count-vowels-permutation
1229-meeting-scheduler
1229-meeting-scheduler
1251-average-selling-price
1251-average-selling-price
126-word-ladder-ii
126-word-ladder-ii
128-longest-consecutive-sequence
128-longest-consecutive-sequence
View all files
Repository files navigation
README
More
items
leetcode
My LeetCode answers
About
My LeetCode learning record
Resources
Readme
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.