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 }}
kbiits
/
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
13,113 Commits
13,113 Commits
Folders and files
Name
Name
Last commit message
Last commit date
.github/
workflows
.github/
workflows
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
0007-reverse-integer
0007-reverse-integer
0008-string-to-integer-atoi
0008-string-to-integer-atoi
0009-palindrome-number
0009-palindrome-number
0011-container-with-most-water
0011-container-with-most-water
0013-roman-to-integer
0013-roman-to-integer
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
0019-remove-nth-node-from-end-of-list
0019-remove-nth-node-from-end-of-list
0020-valid-parentheses
0020-valid-parentheses
0021-merge-two-sorted-lists
0021-merge-two-sorted-lists
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
0035-search-insert-position
0035-search-insert-position
0036-valid-sudoku
0036-valid-sudoku
0037-sudoku-solver
0037-sudoku-solver
0038-count-and-say
0038-count-and-say
0039-combination-sum
0039-combination-sum
0049-group-anagrams
0049-group-anagrams
0051-n-queens
0051-n-queens
0052-n-queens-ii
0052-n-queens-ii
0053-maximum-subarray
0053-maximum-subarray
0058-length-of-last-word
0058-length-of-last-word
0061-rotate-list
0061-rotate-list
0066-plus-one
0066-plus-one
0067-add-binary
0067-add-binary
0070-climbing-stairs
0070-climbing-stairs
0074-search-a-2d-matrix
0074-search-a-2d-matrix
0080-remove-duplicates-from-sorted-array-ii
0080-remove-duplicates-from-sorted-array-ii
0083-remove-duplicates-from-sorted-list
0083-remove-duplicates-from-sorted-list
0088-merge-sorted-array
0088-merge-sorted-array
0090-subsets-ii
0090-subsets-ii
0094-binary-tree-inorder-traversal
0094-binary-tree-inorder-traversal
0098-validate-binary-search-tree
0098-validate-binary-search-tree
0100-same-tree
0100-same-tree
0101-symmetric-tree
0101-symmetric-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
0108-convert-sorted-array-to-binary-search-tree
0108-convert-sorted-array-to-binary-search-tree
0110-balanced-binary-tree
0110-balanced-binary-tree
0111-minimum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree
0112-path-sum
0112-path-sum
0118-pascals-triangle
0118-pascals-triangle
0121-best-time-to-buy-and-sell-stock
0121-best-time-to-buy-and-sell-stock
0122-best-time-to-buy-and-sell-stock-ii
0122-best-time-to-buy-and-sell-stock-ii
0125-valid-palindrome
0125-valid-palindrome
0128-longest-consecutive-sequence
0128-longest-consecutive-sequence
0136-single-number
0136-single-number
0141-linked-list-cycle
0141-linked-list-cycle
0144-binary-tree-preorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0145-binary-tree-postorder-traversal
0153-find-minimum-in-rotated-sorted-array
0153-find-minimum-in-rotated-sorted-array
0155-min-stack
0155-min-stack
0160-intersection-of-two-linked-lists
0160-intersection-of-two-linked-lists
0167-two-sum-ii---input-array-is-sorted
0167-two-sum-ii---input-array-is-sorted
0168-excel-sheet-column-title
0168-excel-sheet-column-title
0169-majority-element
0169-majority-element
0175-combine-two-tables
0175-combine-two-tables
0181-employees-earning-more-than-their-managers
0181-employees-earning-more-than-their-managers
0182-duplicate-emails
0182-duplicate-emails
0183-customers-who-never-order
0183-customers-who-never-order
0187-repeated-dna-sequences
0187-repeated-dna-sequences
0189-rotate-array
0189-rotate-array
0190-reverse-bits
0190-reverse-bits
0191-number-of-1-bits
0191-number-of-1-bits
0193-valid-phone-numbers
0193-valid-phone-numbers
0196-delete-duplicate-emails
0196-delete-duplicate-emails
0197-rising-temperature
0197-rising-temperature
0202-happy-number
0202-happy-number
0203-remove-linked-list-elements
0203-remove-linked-list-elements
0205-isomorphic-strings
0205-isomorphic-strings
0206-reverse-linked-list
0206-reverse-linked-list
0207-course-schedule
0207-course-schedule
0210-course-schedule-ii
0210-course-schedule-ii
0217-contains-duplicate
0217-contains-duplicate
0219-contains-duplicate-ii
0219-contains-duplicate-ii
0222-count-complete-tree-nodes
0222-count-complete-tree-nodes
0225-implement-stack-using-queues
0225-implement-stack-using-queues
0226-invert-binary-tree
0226-invert-binary-tree
0228-summary-ranges
0228-summary-ranges
0231-power-of-two
0231-power-of-two
0234-palindrome-linked-list
0234-palindrome-linked-list
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
0242-valid-anagram
0242-valid-anagram
0257-binary-tree-paths
0257-binary-tree-paths
0258-add-digits
0258-add-digits
0264-ugly-number-ii
0264-ugly-number-ii
0268-missing-number
0268-missing-number
0278-first-bad-version
0278-first-bad-version
0283-move-zeroes
0283-move-zeroes
0284-peeking-iterator
0284-peeking-iterator
0303-range-sum-query---immutable
0303-range-sum-query---immutable
0322-coin-change
0322-coin-change
View all files
About
No description, website, or topics provided.
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Used by
Contributors
Languages
You can’t perform that action at this time.