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
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 }}
MorgueMorg
/
Morg-LeetCode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
14
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
655 Commits
655 Commits
0002-add-two-numbers
0002-add-two-numbers
0003-longest-substring-without-repeating-characters
0003-longest-substring-without-repeating-characters
0005-longest-palindromic-substring
0005-longest-palindromic-substring
0006-zigzag-conversion
0006-zigzag-conversion
0007-reverse-integer
0007-reverse-integer
0008-string-to-integer-atoi
0008-string-to-integer-atoi
0033-search-in-rotated-sorted-array
0033-search-in-rotated-sorted-array
0041-first-missing-positive
0041-first-missing-positive
0043-multiply-strings
0043-multiply-strings
0049-group-anagrams
0049-group-anagrams
0055-jump-game
0055-jump-game
0056-merge-intervals
0056-merge-intervals
0061-rotate-list
0061-rotate-list
0066-plus-one
0066-plus-one
0070-climbing-stairs
0070-climbing-stairs
0079-word-search
0079-word-search
0086-partition-list
0086-partition-list
0124-binary-tree-maximum-path-sum
0124-binary-tree-maximum-path-sum
0148-sort-list
0148-sort-list
0150-evaluate-reverse-polish-notation
0150-evaluate-reverse-polish-notation
0167-two-sum-ii-input-array-is-sorted
0167-two-sum-ii-input-array-is-sorted
0198-house-robber
0198-house-robber
0222-count-complete-tree-nodes
0222-count-complete-tree-nodes
0232-implement-queue-using-stacks
0232-implement-queue-using-stacks
0263-ugly-number
0263-ugly-number
0279-perfect-squares
0279-perfect-squares
0295-find-median-from-data-stream
0295-find-median-from-data-stream
0309-best-time-to-buy-and-sell-stock-with-cooldown
0309-best-time-to-buy-and-sell-stock-with-cooldown
0328-odd-even-linked-list
0328-odd-even-linked-list
0374-guess-number-higher-or-lower
0374-guess-number-higher-or-lower
0380-insert-delete-getrandom-o1
0380-insert-delete-getrandom-o1
0441-arranging-coins
0441-arranging-coins
0451-sort-characters-by-frequency
0451-sort-characters-by-frequency
0507-perfect-number
0507-perfect-number
0520-detect-capital
0520-detect-capital
0646-maximum-length-of-pair-chain
0646-maximum-length-of-pair-chain
0728-self-dividing-numbers
0728-self-dividing-numbers
0739-daily-temperatures
0739-daily-temperatures
0790-domino-and-tromino-tiling
0790-domino-and-tromino-tiling
0797-all-paths-from-source-to-target
0797-all-paths-from-source-to-target
0834-sum-of-distances-in-tree
0834-sum-of-distances-in-tree
0841-keys-and-rooms
0841-keys-and-rooms
0872-leaf-similar-trees
0872-leaf-similar-trees
0876-middle-of-the-linked-list
0876-middle-of-the-linked-list
0886-possible-bipartition
0886-possible-bipartition
0931-minimum-falling-path-sum
0931-minimum-falling-path-sum
0938-range-sum-of-bst
0938-range-sum-of-bst
0980-unique-paths-iii
0980-unique-paths-iii
1025-divisor-game
1025-divisor-game
1026-maximum-difference-between-node-and-ancestor
1026-maximum-difference-between-node-and-ancestor
1114-print-in-order
1114-print-in-order
1143-longest-common-subsequence
1143-longest-common-subsequence
1207-unique-number-of-occurrences
1207-unique-number-of-occurrences
1221-split-a-string-in-balanced-strings
1221-split-a-string-in-balanced-strings
1281-subtract-the-product-and-sum-of-digits-of-an-integer
1281-subtract-the-product-and-sum-of-digits-of-an-integer
1332-remove-palindromic-subsequences
1332-remove-palindromic-subsequences
1339-maximum-product-of-splitted-binary-tree
1339-maximum-product-of-splitted-binary-tree
1342-number-of-steps-to-reduce-a-number-to-zero
1342-number-of-steps-to-reduce-a-number-to-zero
1393-capital-gain-loss
1393-capital-gain-loss
1408-string-matching-in-an-array
1408-string-matching-in-an-array
1431-kids-with-the-greatest-number-of-candies
1431-kids-with-the-greatest-number-of-candies
1491-average-salary-excluding-the-minimum-and-maximum-salary
1491-average-salary-excluding-the-minimum-and-maximum-salary
1657-determine-if-two-strings-are-close
1657-determine-if-two-strings-are-close
1662-check-if-two-string-arrays-are-equivalent
1662-check-if-two-string-arrays-are-equivalent
1672-richest-customer-wealth
1672-richest-customer-wealth
1678-goal-parser-interpretation
1678-goal-parser-interpretation
1688-count-of-matches-in-tournament
1688-count-of-matches-in-tournament
1693-daily-leads-and-partners
1693-daily-leads-and-partners
1704-determine-if-string-halves-are-alike
1704-determine-if-string-halves-are-alike
1732-find-the-highest-altitude
1732-find-the-highest-altitude
1741-find-total-time-spent-by-each-employee
1741-find-total-time-spent-by-each-employee
1768-merge-strings-alternately
1768-merge-strings-alternately
1773-count-items-matching-a-rule
1773-count-items-matching-a-rule
1816-truncate-sentence
1816-truncate-sentence
1832-check-if-the-sentence-is-pangram
1832-check-if-the-sentence-is-pangram
1834-single-threaded-cpu
1834-single-threaded-cpu
1877-minimize-maximum-pair-sum-in-array
1877-minimize-maximum-pair-sum-in-array
1926-nearest-exit-from-entrance-in-maze
1926-nearest-exit-from-entrance-in-maze
1941-check-if-all-characters-have-equal-number-of-occurrences
1941-check-if-all-characters-have-equal-number-of-occurrences
1962-remove-stones-to-minimize-the-total
1962-remove-stones-to-minimize-the-total
1971-find-if-path-exists-in-graph
1971-find-if-path-exists-in-graph
2089-find-target-indices-after-sorting-array
2089-find-target-indices-after-sorting-array
2114-maximum-number-of-words-found-in-sentences
2114-maximum-number-of-words-found-in-sentences
2131-longest-palindrome-by-concatenating-two-letter-words
2131-longest-palindrome-by-concatenating-two-letter-words
2176-count-equal-and-divisible-pairs-in-an-array
2176-count-equal-and-divisible-pairs-in-an-array
2256-minimum-average-difference
2256-minimum-average-difference
2259-remove-digit-from-number-to-maximize-result
2259-remove-digit-from-number-to-maximize-result
2279-maximum-bags-with-full-capacity-of-rocks
2279-maximum-bags-with-full-capacity-of-rocks
2309-greatest-english-letter-in-upper-and-lower-case
2309-greatest-english-letter-in-upper-and-lower-case
2315-count-asterisks
2315-count-asterisks
2363-merge-similar-items
2363-merge-similar-items
2367-number-of-arithmetic-triplets
2367-number-of-arithmetic-triplets
2389-longest-subsequence-with-limited-sum
2389-longest-subsequence-with-limited-sum
2469-convert-the-temperature
2469-convert-the-temperature
2506-count-pairs-of-similar-strings
2506-count-pairs-of-similar-strings
2574-left-and-right-sum-differences
2574-left-and-right-sum-differences
2619-array-prototype-last
2619-array-prototype-last
2620-counter
2620-counter
2621-sleep
2621-sleep
2652-sum-multiples
2652-sum-multiples
View all files
Repository files navigation
README
More
items
MorgLeetCode
Training for myself
About
Training for myself
Topics
leetcode-solutions
training
Resources
Readme
Activity
Stars
14
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.