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 }}
cozyClassic
/
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
531 Commits
531 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
0005-longest-palindromic-substring
0005-longest-palindromic-substring
0006-zigzag-conversion
0006-zigzag-conversion
0009-palindrome-number
0009-palindrome-number
0011-container-with-most-water
0011-container-with-most-water
0014-longest-common-prefix
0014-longest-common-prefix
0015-3sum
0015-3sum
0017-letter-combinations-of-a-phone-number
0017-letter-combinations-of-a-phone-number
0021-merge-two-sorted-lists
0021-merge-two-sorted-lists
0024-swap-nodes-in-pairs
0024-swap-nodes-in-pairs
0026-remove-duplicates-from-sorted-array
0026-remove-duplicates-from-sorted-array
0027-remove-element
0027-remove-element
0028-find-the-index-of-the-first-occurrence-in-a-string
0028-find-the-index-of-the-first-occurrence-in-a-string
0029-divide-two-integers
0029-divide-two-integers
0040-combination-sum-ii
0040-combination-sum-ii
0049-group-anagrams
0049-group-anagrams
0068-text-justification
0068-text-justification
0080-remove-duplicates-from-sorted-array-ii
0080-remove-duplicates-from-sorted-array-ii
0121-best-time-to-buy-and-sell-stock
0121-best-time-to-buy-and-sell-stock
0123-best-time-to-buy-and-sell-stock-iii
0123-best-time-to-buy-and-sell-stock-iii
0125-valid-palindrome
0125-valid-palindrome
0127-word-ladder
0127-word-ladder
0128-longest-consecutive-sequence
0128-longest-consecutive-sequence
0138-copy-list-with-random-pointer
0138-copy-list-with-random-pointer
0145-binary-tree-postorder-traversal
0145-binary-tree-postorder-traversal
0151-reverse-words-in-a-string
0151-reverse-words-in-a-string
0167-two-sum-ii-input-array-is-sorted
0167-two-sum-ii-input-array-is-sorted
0169-majority-element
0169-majority-element
0234-palindrome-linked-list
0234-palindrome-linked-list
0274-h-index
0274-h-index
0328-odd-even-linked-list
0328-odd-even-linked-list
0344-reverse-string
0344-reverse-string
0345-reverse-vowels-of-a-string
0345-reverse-vowels-of-a-string
0392-is-subsequence
0392-is-subsequence
0433-minimum-genetic-mutation
0433-minimum-genetic-mutation
0541-reverse-string-ii
0541-reverse-string-ii
0584-find-customer-referee
0584-find-customer-referee
0624-maximum-distance-in-arrays
0624-maximum-distance-in-arrays
0819-most-common-word
0819-most-common-word
0917-reverse-only-letters
0917-reverse-only-letters
0937-reorder-data-in-log-files
0937-reorder-data-in-log-files
1-two-sum
1-two-sum
100-same-tree
100-same-tree
101-symmetric-tree
101-symmetric-tree
108-convert-sorted-array-to-binary-search-tree
108-convert-sorted-array-to-binary-search-tree
11-container-with-most-water
11-container-with-most-water
118-pascals-triangle
118-pascals-triangle
1190-reverse-substrings-between-each-pair-of-parentheses
1190-reverse-substrings-between-each-pair-of-parentheses
12-integer-to-roman
12-integer-to-roman
120-triangle
120-triangle
1220-count-vowels-permutation
1220-count-vowels-permutation
13-roman-to-integer
13-roman-to-integer
1338-reduce-array-size-to-the-half
1338-reduce-array-size-to-the-half
1381-design-a-stack-with-increment-operation
1381-design-a-stack-with-increment-operation
1448-count-good-nodes-in-binary-tree
1448-count-good-nodes-in-binary-tree
152-maximum-product-subarray
152-maximum-product-subarray
1570-dot-product-of-two-sparse-vectors
1570-dot-product-of-two-sparse-vectors
169-majority-element
169-majority-element
175-combine-two-tables
175-combine-two-tables
176-second-highest-salary
176-second-highest-salary
177-nth-highest-salary
177-nth-highest-salary
178-rank-scores
178-rank-scores
180-consecutive-numbers
180-consecutive-numbers
181-employees-earning-more-than-their-managers
181-employees-earning-more-than-their-managers
182-duplicate-emails
182-duplicate-emails
183-customers-who-never-order
183-customers-who-never-order
184-department-highest-salary
184-department-highest-salary
185-department-top-three-salaries
185-department-top-three-salaries
196-delete-duplicate-emails
196-delete-duplicate-emails
197-rising-temperature
197-rising-temperature
198-house-robber
198-house-robber
22-generate-parentheses
22-generate-parentheses
2279-maximum-bags-with-full-capacity-of-rocks
2279-maximum-bags-with-full-capacity-of-rocks
235-lowest-common-ancestor-of-a-binary-search-tree
235-lowest-common-ancestor-of-a-binary-search-tree
2491-divide-players-into-teams-of-equal-skill
2491-divide-players-into-teams-of-equal-skill
251-flatten-2d-vector
251-flatten-2d-vector
27-remove-element
27-remove-element
298-binary-tree-longest-consecutive-sequence
298-binary-tree-longest-consecutive-sequence
3-longest-substring-without-repeating-characters
3-longest-substring-without-repeating-characters
3083-existence-of-a-substring-in-a-string-and-its-reverse
3083-existence-of-a-substring-in-a-string-and-its-reverse
314-binary-tree-vertical-order-traversal
314-binary-tree-vertical-order-traversal
326-power-of-three
326-power-of-three
336-palindrome-pairs
336-palindrome-pairs
366-find-leaves-of-binary-tree
366-find-leaves-of-binary-tree
377-combination-sum-iv
377-combination-sum-iv
378-kth-smallest-element-in-a-sorted-matrix
378-kth-smallest-element-in-a-sorted-matrix
38-count-and-say
38-count-and-say
383-ransom-note
383-ransom-note
387-first-unique-character-in-a-string
387-first-unique-character-in-a-string
4-median-of-two-sorted-arrays
4-median-of-two-sorted-arrays
413-arithmetic-slices
413-arithmetic-slices
45-jump-game-ii
45-jump-game-ii
458-poor-pigs
458-poor-pigs
46-permutations
46-permutations
47-permutations-ii
47-permutations-ii
48-rotate-image
48-rotate-image
484-find-permutation
484-find-permutation
5-longest-palindromic-substring
5-longest-palindromic-substring
View all files
About
No description, website, or topics provided.
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.