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 }}
Rainston
/
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
Latest commit
History
313 Commits
313 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1-two-sum
1-two-sum
100-same-tree
100-same-tree
1002-maximum-width-ramp
1002-maximum-width-ramp
1025-minimum-cost-for-tickets
1025-minimum-cost-for-tickets
1046-max-consecutive-ones-iii
1046-max-consecutive-ones-iii
112-path-sum
112-path-sum
1153-product-sales-analysis-i
1153-product-sales-analysis-i
1160-letter-tile-possibilities
1160-letter-tile-possibilities
1161-project-employees-i
1161-project-employees-i
1256-rank-transform-of-an-array
1256-rank-transform-of-an-array
1258-article-views-i
1258-article-views-i
1274-number-of-days-between-two-dates
1274-number-of-days-between-two-dates
13-roman-to-integer
13-roman-to-integer
133-clone-graph
133-clone-graph
1333-sort-the-jumbled-numbers
1333-sort-the-jumbled-numbers
136-single-number
136-single-number
1390-average-selling-price
1390-average-selling-price
14-longest-common-prefix
14-longest-common-prefix
1406-subtract-the-product-and-sum-of-digits-of-an-integer
1406-subtract-the-product-and-sum-of-digits-of-an-integer
141-linked-list-cycle
141-linked-list-cycle
1415-students-and-examinations
1415-students-and-examinations
142-linked-list-cycle-ii
142-linked-list-cycle-ii
145-binary-tree-postorder-traversal
145-binary-tree-postorder-traversal
1460-number-of-substrings-containing-all-three-characters
1460-number-of-substrings-containing-all-three-characters
1477-product-of-the-last-k-numbers
1477-product-of-the-last-k-numbers
1478-maximum-number-of-events-that-can-be-attended
1478-maximum-number-of-events-that-can-be-attended
1496-lucky-numbers-in-a-matrix
1496-lucky-numbers-in-a-matrix
15-3sum
15-3sum
1509-replace-employee-id-with-the-unique-identifier
1509-replace-employee-id-with-the-unique-identifier
151-reverse-words-in-a-string
151-reverse-words-in-a-string
1511-count-number-of-teams
1511-count-number-of-teams
1537-maximum-score-after-splitting-a-string
1537-maximum-score-after-splitting-a-string
1538-maximum-points-you-can-obtain-from-cards
1538-maximum-points-you-can-obtain-from-cards
1586-longest-subarray-of-1s-after-deleting-one-element
1586-longest-subarray-of-1s-after-deleting-one-element
169-majority-element
169-majority-element
1724-customer-who-visited-but-did-not-make-any-transactions
1724-customer-who-visited-but-did-not-make-any-transactions
1741-sort-array-by-increasing-frequency
1741-sort-array-by-increasing-frequency
1791-richest-customer-wealth
1791-richest-customer-wealth
1801-average-time-of-process-per-machine
1801-average-time-of-process-per-machine
1827-invalid-tweets
1827-invalid-tweets
185-department-top-three-salaries
185-department-top-three-salaries
19-remove-nth-node-from-end-of-list
19-remove-nth-node-from-end-of-list
1908-recyclable-and-low-fat-products
1908-recyclable-and-low-fat-products
191-number-of-1-bits
191-number-of-1-bits
1960-check-if-the-sentence-is-pangram
1960-check-if-the-sentence-is-pangram
197-rising-temperature
197-rising-temperature
198-house-robber
198-house-robber
202-happy-number
202-happy-number
2048-build-array-from-permutation
2048-build-array-from-permutation
206-reverse-linked-list
206-reverse-linked-list
21-merge-two-sorted-lists
21-merge-two-sorted-lists
2107-find-unique-binary-string
2107-find-unique-binary-string
217-contains-duplicate
217-contains-duplicate
219-contains-duplicate-ii
219-contains-duplicate-ii
2323-minimum-bit-flips-to-convert-number
2323-minimum-bit-flips-to-convert-number
24-swap-nodes-in-pairs
24-swap-nodes-in-pairs
2456-construct-smallest-number-from-di-string
2456-construct-smallest-number-from-di-string
2473-max-sum-of-a-pair-with-equal-sum-of-digits
2473-max-sum-of-a-pair-with-equal-sum-of-digits
2502-sort-the-people
2502-sort-the-people
2581-divide-players-into-teams-of-equal-skill
2581-divide-players-into-teams-of-equal-skill
26-remove-duplicates-from-sorted-array
26-remove-duplicates-from-sorted-array
263-ugly-number
263-ugly-number
264-ugly-number-ii
264-ugly-number-ii
268-missing-number
268-missing-number
27-remove-element
27-remove-element
28-find-the-index-of-the-first-occurrence-in-a-string
28-find-the-index-of-the-first-occurrence-in-a-string
2802-find-the-punishment-number-of-an-integer
2802-find-the-punishment-number-of-an-integer
2809-create-hello-world-function
2809-create-hello-world-function
287-find-the-duplicate-number
287-find-the-duplicate-number
29-divide-two-integers
29-divide-two-integers
3-longest-substring-without-repeating-characters
3-longest-substring-without-repeating-characters
3242-count-elements-with-maximum-frequency
3242-count-elements-with-maximum-frequency
3309-count-prefix-and-suffix-pairs-i
3309-count-prefix-and-suffix-pairs-i
3332-minimum-operations-to-exceed-threshold-value-ii
3332-minimum-operations-to-exceed-threshold-value-ii
3396-valid-word
3396-valid-word
3429-special-array-i
3429-special-array-i
3446-find-the-number-of-good-pairs-i
3446-find-the-number-of-good-pairs-i
3447-clear-digits
3447-clear-digits
3463-alternating-groups-i
3463-alternating-groups-i
3468-find-the-encrypted-string
3468-find-the-encrypted-string
349-intersection-of-two-arrays
349-intersection-of-two-arrays
35-search-insert-position
35-search-insert-position
3510-maximize-the-total-height-of-unique-towers
3510-maximize-the-total-height-of-unique-towers
3511-find-the-winning-player-in-coin-game
3511-find-the-winning-player-in-coin-game
3541-report-spam-message
3541-report-spam-message
3555-final-array-state-after-k-multiplication-operations-i
3555-final-array-state-after-k-multiplication-operations-i
3581-the-two-sneaky-numbers-of-digitville
3581-the-two-sneaky-numbers-of-digitville
3621-minimum-operations-to-make-array-values-equal-to-k
3621-minimum-operations-to-make-array-values-equal-to-k
3651-transformed-array
3651-transformed-array
40-combination-sum-ii
40-combination-sum-ii
412-fizz-buzz
412-fizz-buzz
42-trapping-rain-water
42-trapping-rain-water
424-longest-repeating-character-replacement
424-longest-repeating-character-replacement
461-hamming-distance
461-hamming-distance
476-number-complement
476-number-complement
5-longest-palindromic-substring
5-longest-palindromic-substring
50-powx-n
50-powx-n
53-maximum-subarray
53-maximum-subarray
561-array-partition
561-array-partition
577-employee-bonus
577-employee-bonus
View all files
Repository files navigation
README
More
items
Leetcode
About
No description, website, or topics provided.
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.