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
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 }}
Sarthakbh321
/
LeetCode-Solutions
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
9
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
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.