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 }}
saidrishya
/
leetcode-solutions
Public
Notifications
You must be signed in to change notification settings
Fork
2
Star
2
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
191 Commits
191 Commits
Folders and files
Name
Name
Last commit message
Last commit date
3sum
3sum
3sum closest
3sum closest
4sum
4sum
Fizz Buzz
Fizz Buzz
Toeplitz matrix
Toeplitz matrix
add digits
add digits
add to array form of a integer
add to array form of a integer
add two numbers ii
add two numbers ii
average of levels in binary tree
average of levels in binary tree
balanced binary tree
balanced binary tree
battleship in a board
battleship in a board
best sightseeing pair
best sightseeing pair
best time to buy and sell stocks
best time to buy and sell stocks
best time to buy and sell stocks 2
best time to buy and sell stocks 2
binary number with alternating bits
binary number with alternating bits
binary search
binary search
binary tree level order traversal
binary tree level order traversal
binary tree level order traversal ii
binary tree level order traversal ii
binary tree maximum path sum
binary tree maximum path sum
binary tree right side view
binary tree right side view
bitwise and of numbers range
bitwise and of numbers range
car pooling
car pooling
climbing stairs
climbing stairs
coin change
coin change
compare strings by frequecy of the smallest character
compare strings by frequecy of the smallest character
construct binary tree from parent tree
construct binary tree from parent tree
container with most water
container with most water
contains duplicate
contains duplicate
contains duplicate ii
contains duplicate ii
contains duplicate iii
contains duplicate iii
convert sorted array to bst
convert sorted array to bst
convert sorted linked list to bst
convert sorted linked list to bst
count and say
count and say
count bits
count bits
count primes
count primes
cousins in a binary tree
cousins in a binary tree
custom sort string
custom sort string
decode ways-java
decode ways-java
delete node in bst
delete node in bst
delete node in linked list
delete node in linked list
delete nodes and return forest - java
delete nodes and return forest - java
design circular queue
design circular queue
diameter of a binary tree
diameter of a binary tree
divisor game
divisor game
duplicate zeroes
duplicate zeroes
find all duplicates in array
find all duplicates in array
find first and last position of element in sorted array.cpp
find first and last position of element in sorted array.cpp
find first missing positive
find first missing positive
find minimum in rotated sorted array
find minimum in rotated sorted array
find peak element
find peak element
find the difference
find the difference
find the duplicate one
find the duplicate one
first bad version
first bad version
first unique char in a string
first unique char in a string
fruit into baskets-java
fruit into baskets-java
generate paranthesis
generate paranthesis
group anagrams
group anagrams
guess number lower or higher
guess number lower or higher
happy number
happy number
house robber
house robber
intersection of two Arrays
intersection of two Arrays
intersection of two arrays
intersection of two arrays
intersection of two linked lists
intersection of two linked lists
jewels and stones
jewels and stones
jump game ii
jump game ii
jump game-java
jump game-java
k different pairs in array
k different pairs in array
k similar strings
k similar strings
koko eating bananas
koko eating bananas
kth largest element in array
kth largest element in array
kth smallest element in a bst
kth smallest element in a bst
kth smallest element in a sorted matrix
kth smallest element in a sorted matrix
kth smallest number in a multiplication table
kth smallest number in a multiplication table
leaf similar trees
leaf similar trees
length of longest fibonaaci sequence
length of longest fibonaaci sequence
letter combinations of a phone number
letter combinations of a phone number
license key formatting
license key formatting
linked list cycle
linked list cycle
linked list cycle ii
linked list cycle ii
longest absolute path
longest absolute path
longest common prefix
longest common prefix
longest substring without repeating characters
longest substring without repeating characters
lowest common ancestor
lowest common ancestor
majority element
majority element
majority element ii
majority element ii
make array strictly increasing
make array strictly increasing
maximum depth of a binary tree
maximum depth of a binary tree
maximum product of three numbers
maximum product of three numbers
maximum product subarray
maximum product subarray
maximum subarray - n^2 implementation
maximum subarray - n^2 implementation
median of two sorted arrays
median of two sorted arrays
merge k sorted lists
merge k sorted lists
merge two sorted linked list
merge two sorted linked list
middle of linked list
middle of linked list
minimum absolute difference
minimum absolute difference
minimum absolute difference in bst
minimum absolute difference in bst
minimum cost for tickets
minimum cost for tickets
minimum depth of a binary tree
minimum depth of a binary tree
minimum index sum of two lists
minimum index sum of two lists
missing number
missing number
View all files
About
Solutions to the problems of leetcode. Language used is cpp.
Topics
cpp
leetcode-solutions
top-interview-questions
Activity
Stars
2
stars
Watchers
0
watching
Forks
2
forks
Report repository
Releases
Packages
Used by
Contributors
Languages
You can’t perform that action at this time.