Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
Sarthakbh321
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
9
(
9
)
You must be signed in to star a repository
About
Solutions to LeetCode Problems that I solve!
Resources
Readme
Activity
Stars
9
stars
Watchers
1
watching
Forks
0
forks
Report repository
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
185 Commits
185 Commits
Folders and files
Name
Name
Last commit message
Last commit date
0 - 1 Knapsack Problem - GFG
0 - 1 Knapsack Problem - GFG
1-two-sum
1-two-sum
1551-minimum-operations-to-make-array-equal
1551-minimum-operations-to-make-array-equal
175-combine-two-tables
175-combine-two-tables
1863-sum-of-all-subset-xor-totals
1863-sum-of-all-subset-xor-totals
199-binary-tree-right-side-view
199-binary-tree-right-side-view
20-valid-parentheses
20-valid-parentheses
210-course-schedule-ii
210-course-schedule-ii
300-longest-increasing-subsequence
300-longest-increasing-subsequence
743-network-delay-time
743-network-delay-time
861-score-after-flipping-matrix
861-score-after-flipping-matrix
add-two-numbers
add-two-numbers
all-paths-from-source-to-target
all-paths-from-source-to-target
array-partition-i
array-partition-i
balanced-binary-tree
balanced-binary-tree
best-time-to-buy-and-sell-stock
best-time-to-buy-and-sell-stock
binary-search-tree-to-greater-sum-tree
binary-search-tree-to-greater-sum-tree
binary-search
binary-search
binary-tree-tilt
binary-tree-tilt
climbing-stairs
climbing-stairs
construct-binary-search-tree-from-preorder-traversal
construct-binary-search-tree-from-preorder-traversal
contains-duplicate
contains-duplicate
convert-1d-array-into-2d-array
convert-1d-array-into-2d-array
count-good-nodes-in-binary-tree
count-good-nodes-in-binary-tree
counting-bits
counting-bits
cousins-in-binary-tree
cousins-in-binary-tree
deepest-leaves-sum
deepest-leaves-sum
delete-and-earn
delete-and-earn
delete-leaves-with-a-given-value
delete-leaves-with-a-given-value
di-string-match
di-string-match
diameter-of-binary-tree
diameter-of-binary-tree
fibonacci-number
fibonacci-number
final-prices-with-a-special-discount-in-a-shop
final-prices-with-a-special-discount-in-a-shop
find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
find-all-duplicates-in-an-array
find-all-duplicates-in-an-array
find-all-numbers-disappeared-in-an-array
find-all-numbers-disappeared-in-an-array
find-largest-value-in-each-tree-row
find-largest-value-in-each-tree-row
find-mode-in-binary-search-tree
find-mode-in-binary-search-tree
first-bad-version
first-bad-version
house-robber
house-robber
intersection-of-two-arrays-ii
intersection-of-two-arrays-ii
intersection-of-two-linked-lists
intersection-of-two-linked-lists
invert-binary-tree
invert-binary-tree
jump-game-ii
jump-game-ii
jump-game
jump-game
keys-and-rooms
keys-and-rooms
kth-largest-element-in-a-stream
kth-largest-element-in-a-stream
longest-common-subsequence
longest-common-subsequence
longest-increasing-subsequence
longest-increasing-subsequence
longest-palindromic-subsequence
longest-palindromic-subsequence
longest-palindromic-substring
longest-palindromic-substring
longest-substring-without-repeating-characters
longest-substring-without-repeating-characters
max-area-of-island
max-area-of-island
maximal-network-rank
maximal-network-rank
maximum-binary-tree
maximum-binary-tree
maximum-difference-between-node-and-ancestor
maximum-difference-between-node-and-ancestor
maximum-subarray
maximum-subarray
maximum-units-on-a-truck
maximum-units-on-a-truck
middle-of-the-linked-list
middle-of-the-linked-list
min-cost-climbing-stairs
min-cost-climbing-stairs
minimum-number-of-vertices-to-reach-all-nodes
minimum-number-of-vertices-to-reach-all-nodes
minimum-operations-to-make-the-array-increasing
minimum-operations-to-make-the-array-increasing
missing-number
missing-number
move-zeroes
move-zeroes
n-th-tribonacci-number
n-th-tribonacci-number
next-greater-element-i
next-greater-element-i
number-of-good-pairs
number-of-good-pairs
number-of-operations-to-make-network-connected
number-of-operations-to-make-network-connected
number-of-provinces
number-of-provinces
pascals-triangle
pascals-triangle
product-of-array-except-self
product-of-array-except-self
queries-on-number-of-points-inside-a-circle
queries-on-number-of-points-inside-a-circle
redundant-connection
redundant-connection
remove-all-adjacent-duplicates-in-string
remove-all-adjacent-duplicates-in-string
remove-nth-node-from-end-of-list
remove-nth-node-from-end-of-list
reshape-the-matrix
reshape-the-matrix
reverse-linked-list
reverse-linked-list
reverse-string
reverse-string
reverse-words-in-a-string-iii
reverse-words-in-a-string-iii
same-tree
same-tree
search-insert-position
search-insert-position
single-number
single-number
split-a-string-in-balanced-strings
split-a-string-in-balanced-strings
squares-of-a-sorted-array
squares-of-a-sorted-array
sum-of-left-leaves
sum-of-left-leaves
two-sum-ii-input-array-is-sorted
two-sum-ii-input-array-is-sorted
two-sum-iv-input-is-a-bst
two-sum-iv-input-is-a-bst
two-sum
two-sum
validate-binary-search-tree
validate-binary-search-tree
README.md
README.md
View all files
Repository files navigation
README
More
items
LeetCode-Solutions
Solutions to LeetCode Problems.
Created using
LeetHub
.
About
Solutions to LeetCode Problems that I solve!
Resources
Readme
Activity
Stars
9
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.