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
Type
/
to 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
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
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
2 Commits
2 Commits
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.