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 }}
HarshalMPatil20
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
No description, website, or topics provided.
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
598 Commits
598 Commits
Folders and files
Name
Name
Last commit message
Last commit date
.vscode
.vscode
1-two-sum
1-two-sum
1013-fibonacci-number
1013-fibonacci-number
1030-smallest-string-starting-from-leaf
1030-smallest-string-starting-from-leaf
1032-satisfiability-of-equality-equations
1032-satisfiability-of-equality-equations
1056-capacity-to-ship-packages-within-d-days
1056-capacity-to-ship-packages-within-d-days
1078-remove-outermost-parentheses
1078-remove-outermost-parentheses
11-container-with-most-water
11-container-with-most-water
1146-greatest-common-divisor-of-strings
1146-greatest-common-divisor-of-strings
1153-product-sales-analysis-i
1153-product-sales-analysis-i
1171-shortest-path-in-binary-matrix
1171-shortest-path-in-binary-matrix
118-pascals-triangle
118-pascals-triangle
12-integer-to-roman
12-integer-to-roman
121-best-time-to-buy-and-sell-stock
121-best-time-to-buy-and-sell-stock
1224-minimum-falling-path-sum-ii
1224-minimum-falling-path-sum-ii
1236-n-th-tribonacci-number
1236-n-th-tribonacci-number
128-longest-consecutive-sequence
128-longest-consecutive-sequence
129-sum-root-to-leaf-numbers
129-sum-root-to-leaf-numbers
1331-path-with-maximum-gold
1331-path-with-maximum-gold
136-single-number
136-single-number
1371-minimum-remove-to-make-valid-parentheses
1371-minimum-remove-to-make-valid-parentheses
14-longest-common-prefix
14-longest-common-prefix
1408-find-the-smallest-divisor-given-a-threshold
1408-find-the-smallest-divisor-given-a-threshold
141-linked-list-cycle
141-linked-list-cycle
142-linked-list-cycle-ii
142-linked-list-cycle-ii
143-reorder-list
143-reorder-list
1442-number-of-operations-to-make-network-connected
1442-number-of-operations-to-make-network-connected
148-sort-list
148-sort-list
15-3sum
15-3sum
1528-kids-with-the-greatest-number-of-candies
1528-kids-with-the-greatest-number-of-candies
153-find-minimum-in-rotated-sorted-array
153-find-minimum-in-rotated-sorted-array
154-find-minimum-in-rotated-sorted-array-ii
154-find-minimum-in-rotated-sorted-array-ii
1605-minimum-number-of-days-to-make-m-bouquets
1605-minimum-number-of-days-to-make-m-bouquets
162-find-peak-element
162-find-peak-element
1646-kth-missing-positive-number
1646-kth-missing-positive-number
165-compare-version-numbers
165-compare-version-numbers
1666-make-the-string-great
1666-make-the-string-great
167-two-sum-ii-input-array-is-sorted
167-two-sum-ii-input-array-is-sorted
169-majority-element
169-majority-element
1706-min-cost-to-connect-all-points
1706-min-cost-to-connect-all-points
1737-maximum-nesting-depth-of-the-parentheses
1737-maximum-nesting-depth-of-the-parentheses
1753-path-with-minimum-effort
1753-path-with-minimum-effort
180-consecutive-numbers
180-consecutive-numbers
1802-number-of-students-unable-to-eat-lunch
1802-number-of-students-unable-to-eat-lunch
1878-check-if-array-is-sorted-and-rotated
1878-check-if-array-is-sorted-and-rotated
1894-merge-strings-alternately
1894-merge-strings-alternately
19-remove-nth-node-from-end-of-list
19-remove-nth-node-from-end-of-list
198-house-robber
198-house-robber
2-add-two-numbers
2-add-two-numbers
2044-number-of-wonderful-substrings
2044-number-of-wonderful-substrings
205-isomorphic-strings
205-isomorphic-strings
206-reverse-linked-list
206-reverse-linked-list
207-course-schedule
207-course-schedule
210-course-schedule-ii
210-course-schedule-ii
2103-find-all-groups-of-farmland
2103-find-all-groups-of-farmland
2121-find-if-path-exists-in-graph
2121-find-if-path-exists-in-graph
2128-reverse-prefix-of-word
2128-reverse-prefix-of-word
2195-time-needed-to-buy-tickets
2195-time-needed-to-buy-tickets
2201-valid-arrangement-of-pairs
2201-valid-arrangement-of-pairs
2216-delete-the-middle-node-of-a-linked-list
2216-delete-the-middle-node-of-a-linked-list
2271-rearrange-array-elements-by-sign
2271-rearrange-array-elements-by-sign
229-majority-element-ii
229-majority-element-ii
2323-minimum-bit-flips-to-convert-number
2323-minimum-bit-flips-to-convert-number
234-palindrome-linked-list
234-palindrome-linked-list
237-delete-node-in-a-linked-list
237-delete-node-in-a-linked-list
2403-count-unreachable-pairs-of-nodes-in-an-undirected-graph
2403-count-unreachable-pairs-of-nodes-in-an-undirected-graph
242-valid-anagram
242-valid-anagram
2444-longest-ideal-subsequence
2444-longest-ideal-subsequence
2524-largest-positive-integer-that-exists-with-its-negative
2524-largest-positive-integer-that-exists-with-its-negative
2527-count-subarrays-with-fixed-bounds
2527-count-subarrays-with-fixed-bounds
2573-remove-nodes-from-linked-list
2573-remove-nodes-from-linked-list
26-remove-duplicates-from-sorted-array
26-remove-duplicates-from-sorted-array
268-missing-number
268-missing-number
2737-row-with-maximum-ones
2737-row-with-maximum-ones
283-move-zeroes
283-move-zeroes
287-find-the-duplicate-number
287-find-the-duplicate-number
2871-double-a-number-represented-as-a-linked-list
2871-double-a-number-represented-as-a-linked-list
3-longest-substring-without-repeating-characters
3-longest-substring-without-repeating-characters
31-next-permutation
31-next-permutation
310-minimum-height-trees
310-minimum-height-trees
3213-count-subarrays-where-max-element-appears-at-least-k-times
3213-count-subarrays-where-max-element-appears-at-least-k-times
322-coin-change
322-coin-change
3225-length-of-longest-subarray-with-at-most-k-frequency
3225-length-of-longest-subarray-with-at-most-k-frequency
3249-minimum-number-of-operations-to-make-array-xor-equal-to-k
3249-minimum-number-of-operations-to-make-array-xor-equal-to-k
33-search-in-rotated-sorted-array
33-search-in-rotated-sorted-array
3351-maximize-happiness-of-selected-children
3351-maximize-happiness-of-selected-children
338-counting-bits
338-counting-bits
34-find-first-and-last-position-of-element-in-sorted-array
34-find-first-and-last-position-of-element-in-sorted-array
35-search-insert-position
35-search-insert-position
3685-count-subarrays-of-length-three-with-a-condition
3685-count-subarrays-of-length-three-with-a-condition
3763-separate-squares-i
3763-separate-squares-i
392-is-subsequence
392-is-subsequence
4-median-of-two-sorted-arrays
4-median-of-two-sorted-arrays
402-remove-k-digits
402-remove-k-digits
404-sum-of-left-leaves
404-sum-of-left-leaves
41-first-missing-positive
41-first-missing-positive
410-split-array-largest-sum
410-split-array-largest-sum
4152-minimum-subarray-length-with-distinct-sum-at-least-k
4152-minimum-subarray-length-with-distinct-sum-at-least-k
42-trapping-rain-water
42-trapping-rain-water
43-multiply-strings
43-multiply-strings
View all files
Repository files navigation
README
More
items
LeetCode
About
No description, website, or topics provided.
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.