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 }}
ZackHoang
/
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
163 Commits
163 Commits
1019-squares-of-a-sorted-array
1019-squares-of-a-sorted-array
1036-rotting-oranges
1036-rotting-oranges
104-maximum-depth-of-binary-tree
104-maximum-depth-of-binary-tree
1046-max-consecutive-ones-iii
1046-max-consecutive-ones-iii
11-container-with-most-water
11-container-with-most-water
1116-maximum-level-sum-of-a-binary-tree
1116-maximum-level-sum-of-a-binary-tree
112-path-sum
112-path-sum
1146-greatest-common-divisor-of-strings
1146-greatest-common-divisor-of-strings
1231-replace-elements-with-greatest-element-on-right-side
1231-replace-elements-with-greatest-element-on-right-side
1319-unique-number-of-occurrences
1319-unique-number-of-occurrences
1321-get-equal-substrings-within-budget
1321-get-equal-substrings-within-budget
136-single-number
136-single-number
1392-find-the-difference-of-two-arrays
1392-find-the-difference-of-two-arrays
1426-find-n-unique-integers-sum-up-to-zero
1426-find-n-unique-integers-sum-up-to-zero
1474-longest-zigzag-path-in-a-binary-tree
1474-longest-zigzag-path-in-a-binary-tree
151-reverse-words-in-a-string
151-reverse-words-in-a-string
1528-kids-with-the-greatest-number-of-candies
1528-kids-with-the-greatest-number-of-candies
153-find-minimum-in-rotated-sorted-array
153-find-minimum-in-rotated-sorted-array
1544-count-good-nodes-in-binary-tree
1544-count-good-nodes-in-binary-tree
1567-maximum-number-of-vowels-in-a-substring-of-given-length
1567-maximum-number-of-vowels-in-a-substring-of-given-length
1586-longest-subarray-of-1s-after-deleting-one-element
1586-longest-subarray-of-1s-after-deleting-one-element
162-find-peak-element
162-find-peak-element
1666-make-the-string-great
1666-make-the-string-great
169-majority-element
169-majority-element
1777-determine-if-two-strings-are-close
1777-determine-if-two-strings-are-close
1781-check-if-two-string-arrays-are-equivalent
1781-check-if-two-string-arrays-are-equivalent
1798-max-number-of-k-sum-pairs
1798-max-number-of-k-sum-pairs
1833-find-the-highest-altitude
1833-find-the-highest-altitude
19-remove-nth-node-from-end-of-list
19-remove-nth-node-from-end-of-list
199-binary-tree-right-side-view
199-binary-tree-right-side-view
20-valid-parentheses
20-valid-parentheses
200-number-of-islands
200-number-of-islands
203-remove-linked-list-elements
203-remove-linked-list-elements
2038-nearest-exit-from-entrance-in-maze
2038-nearest-exit-from-entrance-in-maze
206-reverse-linked-list
206-reverse-linked-list
217-contains-duplicate
217-contains-duplicate
2216-delete-the-middle-node-of-a-linked-list
2216-delete-the-middle-node-of-a-linked-list
2236-maximum-twin-sum-of-a-linked-list
2236-maximum-twin-sum-of-a-linked-list
2245-destroying-asteroids
2245-destroying-asteroids
226-invert-binary-tree
226-invert-binary-tree
236-lowest-common-ancestor-of-a-binary-tree
236-lowest-common-ancestor-of-a-binary-tree
237-delete-node-in-a-linked-list
237-delete-node-in-a-linked-list
238-product-of-array-except-self
238-product-of-array-except-self
2392-successful-pairs-of-spells-and-potions
2392-successful-pairs-of-spells-and-potions
2428-equal-row-and-column-pairs
2428-equal-row-and-column-pairs
2470-removing-stars-from-a-string
2470-removing-stars-from-a-string
268-missing-number
268-missing-number
283-move-zeroes
283-move-zeroes
334-increasing-triplet-subsequence
334-increasing-triplet-subsequence
34-find-first-and-last-position-of-element-in-sorted-array
34-find-first-and-last-position-of-element-in-sorted-array
345-reverse-vowels-of-a-string
345-reverse-vowels-of-a-string
367-valid-perfect-square
367-valid-perfect-square
374-guess-number-higher-or-lower
374-guess-number-higher-or-lower
383-ransom-note
383-ransom-note
389-find-the-difference
389-find-the-difference
392-is-subsequence
392-is-subsequence
394-decode-string
394-decode-string
3965-earliest-finish-time-for-land-and-water-rides-i
3965-earliest-finish-time-for-land-and-water-rides-i
399-evaluate-division
399-evaluate-division
414-third-maximum-number
414-third-maximum-number
437-path-sum-iii
437-path-sum-iii
443-string-compression
443-string-compression
450-delete-node-in-a-bst
450-delete-node-in-a-bst
463-island-perimeter
463-island-perimeter
547-number-of-provinces
547-number-of-provinces
605-can-place-flowers
605-can-place-flowers
643-maximum-average-subarray-i
643-maximum-average-subarray-i
649-dota2-senate
649-dota2-senate
657-robot-return-to-origin
657-robot-return-to-origin
69-sqrtx
69-sqrtx
724-find-pivot-index
724-find-pivot-index
735-asteroid-collision
735-asteroid-collision
739-daily-temperatures
739-daily-temperatures
75-sort-colors
75-sort-colors
774-maximum-depth-of-n-ary-tree
774-maximum-depth-of-n-ary-tree
783-search-in-a-binary-search-tree
783-search-in-a-binary-search-tree
792-binary-search
792-binary-search
871-keys-and-rooms
871-keys-and-rooms
88-merge-sorted-array
88-merge-sorted-array
904-leaf-similar-trees
904-leaf-similar-trees
907-koko-eating-bananas
907-koko-eating-bananas
README.md
README.md
View all files
Repository files navigation
README
More
items
leetcode
My solutions to Leetcode problems, using primarily Ruby
About
My solutions to Leetcode problems, using primarily Ruby
Resources
Readme
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.