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
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 }}
sanskritikhare142
/
Leetcode-Solutions
Public
Notifications
You must be signed in to change notification settings
Fork
0
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
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
119 Commits
119 Commits
287-find-the-duplicate-number
287-find-the-duplicate-number
73-set-matrix-zeroes
73-set-matrix-zeroes
75-sort-colors
75-sort-colors
add-strings
add-strings
add-two-numbers
add-two-numbers
binary-tree-inorder-traversal
binary-tree-inorder-traversal
build-array-from-permutation
build-array-from-permutation
check-if-all-the-integers-in-a-range-are-covered
check-if-all-the-integers-in-a-range-are-covered
check-if-it-is-a-straight-line
check-if-it-is-a-straight-line
climbing-stairs
climbing-stairs
complex-number-multiplication
complex-number-multiplication
concatenation-of-array
concatenation-of-array
convert-binary-number-in-a-linked-list-to-integer
convert-binary-number-in-a-linked-list-to-integer
decode-xored-array
decode-xored-array
deepest-leaves-sum
deepest-leaves-sum
determine-color-of-a-chessboard-square
determine-color-of-a-chessboard-square
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-center-of-star-graph
find-center-of-star-graph
how-many-numbers-are-smaller-than-the-current-number
how-many-numbers-are-smaller-than-the-current-number
is-subsequence
is-subsequence
maximum-nesting-depth-of-the-parentheses
maximum-nesting-depth-of-the-parentheses
mean-of-array-after-removing-some-elements
mean-of-array-after-removing-some-elements
median-of-two-sorted-arrays
median-of-two-sorted-arrays
merge-in-between-linked-lists
merge-in-between-linked-lists
merge-two-sorted-lists
merge-two-sorted-lists
middle-of-the-linked-list
middle-of-the-linked-list
number-of-good-pairs
number-of-good-pairs
number-of-lines-to-write-string
number-of-lines-to-write-string
pairs-of-songs-with-total-durations-divisible-by-60
pairs-of-songs-with-total-durations-divisible-by-60
power-of-two
power-of-two
queries-on-number-of-points-inside-a-circle
queries-on-number-of-points-inside-a-circle
range-sum-of-bst
range-sum-of-bst
remove-nth-node-from-end-of-list
remove-nth-node-from-end-of-list
replace-all-digits-with-characters
replace-all-digits-with-characters
reverse-integer
reverse-integer
reverse-linked-list
reverse-linked-list
richest-customer-wealth
richest-customer-wealth
roman-to-integer
roman-to-integer
rotate-list
rotate-list
search-a-2d-matrix
search-a-2d-matrix
search-in-rotated-sorted-array
search-in-rotated-sorted-array
sort-an-array
sort-an-array
sort-colors
sort-colors
sum-of-nodes-with-even-valued-grandparent
sum-of-nodes-with-even-valued-grandparent
swap-nodes-in-pairs
swap-nodes-in-pairs
the-kth-factor-of-n
the-kth-factor-of-n
two-sum
two-sum
valid-parentheses
valid-parentheses
View all files
About
Uploading my solutions for all the questions that I solve on LeetCode.
Topics
algorithms-and-data-structures
competitive-coding
data-structures
leetcode
leetcode-solutions
Activity
Stars
2
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.