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
Developer articles
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 }}
ridhu-web
LeetCode
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
LeetCode
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
0
(
0
)
You must be signed in to star a repository
About
This repository contains my solution to the leet code questions I have solved.
Resources
Readme
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
2 Commits
2 Commits
Folders and files
Name
Name
Last commit message
Last commit date
3sum/
Accepted
3sum/
Accepted
best-time-to-buy-and-sell-stock-with-transaction-fee/
Accepted
best-time-to-buy-and-sell-stock-with-transaction-fee/
Accepted
can-place-flowers/
Accepted
can-place-flowers/
Accepted
climbing-stairs/
Accepted/
10-8-2022, 10_02_08 AM
climbing-stairs/
Accepted/
10-8-2022, 10_02_08 AM
coin-change-ii
coin-change-ii
coin-change
coin-change
construct-binary-tree-from-inorder-and-postorder-traversal/
Accepted
construct-binary-tree-from-inorder-and-postorder-traversal/
Accepted
container-with-most-water/
Accepted
container-with-most-water/
Accepted
contains-duplicate-ii/
Accepted/
1-13-2023, 12_11_20 AM
contains-duplicate-ii/
Accepted/
1-13-2023, 12_11_20 AM
contains-duplicate
contains-duplicate
decode-ways
decode-ways
edit-distance
edit-distance
fair-candy-swap
fair-candy-swap
find-peak-element/
Accepted
find-peak-element/
Accepted
find-pivot-index/
Wrong Answer
find-pivot-index/
Wrong Answer
first-unique-character-in-a-string
first-unique-character-in-a-string
happy-number
happy-number
house-robber
house-robber
is-subsequence/
Accepted
is-subsequence/
Accepted
k-closest-points-to-origin
k-closest-points-to-origin
kth-largest-element-in-a-stream/
Time Limit Exceeded
kth-largest-element-in-a-stream/
Time Limit Exceeded
kth-largest-element-in-an-array/
Accepted/
9-26-2022, 8_22_23 AM
kth-largest-element-in-an-array/
Accepted/
9-26-2022, 8_22_23 AM
last-stone-weight/
Accepted/
9-25-2022, 11_06_23 AM
last-stone-weight/
Accepted/
9-25-2022, 11_06_23 AM
longest-common-subsequence/
Accepted
longest-common-subsequence/
Accepted
longest-palindromic-substring
longest-palindromic-substring
longest-substring-without-repeating-characters
longest-substring-without-repeating-characters
majority-element/
Accepted
majority-element/
Accepted
max-area-of-island/
Accepted
max-area-of-island/
Accepted
maximum-product-subarray
maximum-product-subarray
maximum-subarray
maximum-subarray
maximum-sum-of-an-hourglass
maximum-sum-of-an-hourglass
median-of-two-sorted-arrays
median-of-two-sorted-arrays
min-cost-climbing-stairs/
Accepted
min-cost-climbing-stairs/
Accepted
min-cost-to-connect-all-points
min-cost-to-connect-all-points
minimize-xor
minimize-xor
minimum-cost-of-buying-candies-with-discount/
Accepted
minimum-cost-of-buying-candies-with-discount/
Accepted
minimum-operations-to-make-the-array-increasing
minimum-operations-to-make-the-array-increasing
next-permutation
next-permutation
number-of-1-bits/
Accepted/
11-20-2022, 1_09_30 PM
number-of-1-bits/
Accepted/
11-20-2022, 1_09_30 PM
number-of-common-factors
number-of-common-factors
number-of-islands
number-of-islands
pacific-atlantic-water-flow
pacific-atlantic-water-flow
pairs-of-songs-with-total-durations-divisible-by-60
pairs-of-songs-with-total-durations-divisible-by-60
palindromic-substrings/
Accepted/
11-1-2022, 10_10_46 PM
palindromic-substrings/
Accepted/
11-1-2022, 10_10_46 PM
partition-equal-subset-sum
partition-equal-subset-sum
remove-duplicates-from-an-unsorted-linked-list/
Wrong Answer/
11-10-2022, 9_03_04 AM
remove-duplicates-from-an-unsorted-linked-list/
Wrong Answer/
11-10-2022, 9_03_04 AM
shortest-path-in-binary-matrix
shortest-path-in-binary-matrix
single-number
single-number
surrounded-regions
surrounded-regions
target-sum
target-sum
two-sum/
Accepted/
10-18-2022, 12_57_05 PM
two-sum/
Accepted/
10-18-2022, 12_57_05 PM
unique-paths
unique-paths
README.md
README.md
View all files
Repository files navigation
README
More
items
LeetCode
This repository contains my solution to the leet code questions I have solved.
About
This repository contains my solution to the leet code questions I have solved.
Resources
Readme
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.