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
See 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
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 }}
bhuveshrohankar28-cmd
LeetCode-Solutions
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
LeetCode-Solutions
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
1
(
1
)
You must be signed in to star a repository
About
No description, website, or topics provided.
Resources
Readme
Activity
Stars
1
star
Watchers
0
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
623 Commits
623 Commits
Folders and files
Name
Name
Last commit message
Last commit date
.github/
workflows
.github/
workflows
0001-two-sum
0001-two-sum
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
0013-roman-to-integer
0013-roman-to-integer
0014-longest-common-prefix
0014-longest-common-prefix
0015-3sum
0015-3sum
0018-4sum
0018-4sum
0021-merge-two-sorted-lists
0021-merge-two-sorted-lists
0022-generate-parentheses
0022-generate-parentheses
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
0031-next-permutation
0031-next-permutation
0033-search-in-rotated-sorted-array
0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0035-search-insert-position
0035-search-insert-position
0038-count-and-say
0038-count-and-say
0048-rotate-image
0048-rotate-image
0050-powx-n
0050-powx-n
0053-maximum-subarray
0053-maximum-subarray
0054-spiral-matrix
0054-spiral-matrix
0056-merge-intervals
0056-merge-intervals
0058-length-of-last-word
0058-length-of-last-word
0062-unique-paths
0062-unique-paths
0066-plus-one
0066-plus-one
0069-sqrtx
0069-sqrtx
0073-set-matrix-zeroes
0073-set-matrix-zeroes
0074-search-a-2d-matrix
0074-search-a-2d-matrix
0075-sort-colors
0075-sort-colors
0080-remove-duplicates-from-sorted-array-ii
0080-remove-duplicates-from-sorted-array-ii
0081-search-in-rotated-sorted-array-ii
0081-search-in-rotated-sorted-array-ii
0088-merge-sorted-array
0088-merge-sorted-array
0118-pascals-triangle
0118-pascals-triangle
0119-pascals-triangle-ii
0119-pascals-triangle-ii
0121-best-time-to-buy-and-sell-stock
0121-best-time-to-buy-and-sell-stock
0125-valid-palindrome
0125-valid-palindrome
0128-longest-consecutive-sequence
0128-longest-consecutive-sequence
0136-single-number
0136-single-number
0151-reverse-words-in-a-string
0151-reverse-words-in-a-string
0152-maximum-product-subarray
0152-maximum-product-subarray
0153-find-minimum-in-rotated-sorted-array
0153-find-minimum-in-rotated-sorted-array
0154-find-minimum-in-rotated-sorted-array-ii
0154-find-minimum-in-rotated-sorted-array-ii
0162-find-peak-element
0162-find-peak-element
0169-majority-element
0169-majority-element
0189-rotate-array
0189-rotate-array
0202-happy-number
0202-happy-number
0205-isomorphic-strings
0205-isomorphic-strings
0215-kth-largest-element-in-an-array
0215-kth-largest-element-in-an-array
0217-contains-duplicate
0217-contains-duplicate
0219-contains-duplicate-ii
0219-contains-duplicate-ii
0229-majority-element-ii
0229-majority-element-ii
0231-power-of-two
0231-power-of-two
0240-search-a-2d-matrix-ii
0240-search-a-2d-matrix-ii
0242-valid-anagram
0242-valid-anagram
0258-add-digits
0258-add-digits
0263-ugly-number
0263-ugly-number
0268-missing-number
0268-missing-number
0275-h-index-ii
0275-h-index-ii
0278-first-bad-version
0278-first-bad-version
0283-move-zeroes
0283-move-zeroes
0287-find-the-duplicate-number
0287-find-the-duplicate-number
0344-reverse-string
0344-reverse-string
0347-top-k-frequent-elements
0347-top-k-frequent-elements
0349-intersection-of-two-arrays
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii
0350-intersection-of-two-arrays-ii
0367-valid-perfect-square
0367-valid-perfect-square
0371-sum-of-two-integers
0371-sum-of-two-integers
0374-guess-number-higher-or-lower
0374-guess-number-higher-or-lower
0389-find-the-difference
0389-find-the-difference
0412-fizz-buzz
0412-fizz-buzz
0414-third-maximum-number
0414-third-maximum-number
0441-arranging-coins
0441-arranging-coins
0443-string-compression
0443-string-compression
0485-max-consecutive-ones
0485-max-consecutive-ones
0540-single-element-in-a-sorted-array
0540-single-element-in-a-sorted-array
0560-subarray-sum-equals-k
0560-subarray-sum-equals-k
0643-maximum-average-subarray-i
0643-maximum-average-subarray-i
0658-find-k-closest-elements
0658-find-k-closest-elements
0697-degree-of-an-array
0697-degree-of-an-array
0724-find-pivot-index
0724-find-pivot-index
0745-find-smallest-letter-greater-than-target
0745-find-smallest-letter-greater-than-target
0748-largest-number-at-least-twice-of-others
0748-largest-number-at-least-twice-of-others
0792-binary-search
0792-binary-search
0795-k-th-symbol-in-grammar
0795-k-th-symbol-in-grammar
0812-rotate-string
0812-rotate-string
0882-peak-index-in-a-mountain-array
0882-peak-index-in-a-mountain-array
0898-transpose-matrix
0898-transpose-matrix
0907-koko-eating-bananas
0907-koko-eating-bananas
0941-sort-array-by-parity
0941-sort-array-by-parity
0948-sort-an-array
0948-sort-an-array
0958-sort-array-by-parity-ii
0958-sort-array-by-parity-ii
0978-valid-mountain-array
0978-valid-mountain-array
1013-fibonacci-number
1013-fibonacci-number
1018-largest-perimeter-triangle
1018-largest-perimeter-triangle
1019-squares-of-a-sorted-array
1019-squares-of-a-sorted-array
1034-subarrays-with-k-different-integers
1034-subarrays-with-k-different-integers
View all files
Repository files navigation
README
More
items
LeetCode Solutions
About
No description, website, or topics provided.
Resources
Readme
Activity
Stars
1
star
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Used by
Contributors
Languages
You can’t perform that action at this time.