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 }}
Minhaj078
/
LeetCode
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
1,079 Commits
1,079 Commits
1-two-sum
1-two-sum
1019-squares-of-a-sorted-array
1019-squares-of-a-sorted-array
102-binary-tree-level-order-traversal
102-binary-tree-level-order-traversal
1036-rotting-oranges
1036-rotting-oranges
1046-max-consecutive-ones-iii
1046-max-consecutive-ones-iii
1054-complement-of-base-10-integer
1054-complement-of-base-10-integer
1073-number-of-enclaves
1073-number-of-enclaves
110-balanced-binary-tree
110-balanced-binary-tree
1111-minimum-score-triangulation-of-polygon
1111-minimum-score-triangulation-of-polygon
115-distinct-subsequences
115-distinct-subsequences
1170-shortest-common-supersequence
1170-shortest-common-supersequence
118-pascals-triangle
118-pascals-triangle
120-triangle
120-triangle
121-best-time-to-buy-and-sell-stock
121-best-time-to-buy-and-sell-stock
1250-longest-common-subsequence
1250-longest-common-subsequence
127-word-ladder
127-word-ladder
128-longest-consecutive-sequence
128-longest-consecutive-sequence
1288-maximum-subarray-sum-with-one-deletion
1288-maximum-subarray-sum-with-one-deletion
1297-maximum-number-of-balloons
1297-maximum-number-of-balloons
130-surrounded-regions
130-surrounded-regions
1302-delete-characters-to-make-fancy-string
1302-delete-characters-to-make-fancy-string
1306-minimum-absolute-difference
1306-minimum-absolute-difference
1311-largest-magic-square
1311-largest-magic-square
1350-remove-sub-folders-from-the-filesystem
1350-remove-sub-folders-from-the-filesystem
1395-minimum-time-visiting-all-points
1395-minimum-time-visiting-all-points
14-longest-common-prefix
14-longest-common-prefix
141-linked-list-cycle
141-linked-list-cycle
1411-convert-binary-number-in-a-linked-list-to-integer
1411-convert-binary-number-in-a-linked-list-to-integer
1413-maximum-side-length-of-a-square-with-sum-less-than-or-equal-to-threshold
1413-maximum-side-length-of-a-square-with-sum-less-than-or-equal-to-threshold
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
145-binary-tree-postorder-traversal
145-binary-tree-postorder-traversal
1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
1460-number-of-substrings-containing-all-three-characters
1460-number-of-substrings-containing-all-three-characters
1478-maximum-number-of-events-that-can-be-attended
1478-maximum-number-of-events-that-can-be-attended
15-3sum
15-3sum
1510-find-lucky-integer-in-an-array
1510-find-lucky-integer-in-an-array
152-maximum-product-subarray
152-maximum-product-subarray
1548-check-if-all-1s-are-at-least-length-k-places-away
1548-check-if-all-1s-are-at-least-length-k-places-away
1557-check-if-a-string-contains-all-binary-codes-of-size-k
1557-check-if-a-string-contains-all-binary-codes-of-size-k
1569-max-dot-product-of-two-subsequences
1569-max-dot-product-of-two-subsequences
16-3sum-closest
16-3sum-closest
1642-water-bottles
1642-water-bottles
1667-find-kth-bit-in-nth-binary-string
1667-find-kth-bit-in-nth-binary-string
167-two-sum-ii-input-array-is-sorted
167-two-sum-ii-input-array-is-sorted
169-majority-element
169-majority-element
1694-make-sum-divisible-by-p
1694-make-sum-divisible-by-p
1700-minimum-time-to-make-rope-colorful
1700-minimum-time-to-make-rope-colorful
1716-maximum-non-negative-product-in-a-matrix
1716-maximum-non-negative-product-in-a-matrix
1732-minimum-one-bit-operations-to-make-integers-zero
1732-minimum-one-bit-operations-to-make-integers-zero
1747-lexicographically-smallest-string-after-applying-operations
1747-lexicographically-smallest-string-after-applying-operations
175-combine-two-tables
175-combine-two-tables
1756-minimum-deletions-to-make-string-balanced
1756-minimum-deletions-to-make-string-balanced
176-second-highest-salary
176-second-highest-salary
18-4sum
18-4sum
181-employees-earning-more-than-their-managers
181-employees-earning-more-than-their-managers
182-duplicate-emails
182-duplicate-emails
1851-maximum-number-of-events-that-can-be-attended-ii
1851-maximum-number-of-events-that-can-be-attended-ii
1878-check-if-array-is-sorted-and-rotated
1878-check-if-array-is-sorted-and-rotated
1884-minimum-changes-to-make-alternating-binary-string
1884-minimum-changes-to-make-alternating-binary-string
1889-check-if-number-is-a-sum-of-powers-of-three
1889-check-if-number-is-a-sum-of-powers-of-three
19-remove-nth-node-from-end-of-list
19-remove-nth-node-from-end-of-list
1910-check-if-binary-string-has-at-most-one-segment-of-ones
1910-check-if-binary-string-has-at-most-one-segment-of-ones
1975-minimum-distance-to-the-target-element
1975-minimum-distance-to-the-target-element
198-house-robber
198-house-robber
1995-finding-pairs-with-a-certain-sum
1995-finding-pairs-with-a-certain-sum
2-add-two-numbers
2-add-two-numbers
200-number-of-islands
200-number-of-islands
2015-determine-whether-matrix-can-be-obtained-by-rotation
2015-determine-whether-matrix-can-be-obtained-by-rotation
2017-minimum-number-of-flips-to-make-the-binary-string-alternating
2017-minimum-number-of-flips-to-make-the-binary-string-alternating
202-happy-number
202-happy-number
2028-the-earliest-and-latest-rounds-where-players-compete
2028-the-earliest-and-latest-rounds-where-players-compete
2053-check-if-all-characters-have-equal-number-of-occurrences
2053-check-if-all-characters-have-equal-number-of-occurrences
206-reverse-linked-list
206-reverse-linked-list
207-course-schedule
207-course-schedule
2079-delete-duplicate-folders-in-system
2079-delete-duplicate-folders-in-system
209-minimum-size-subarray-sum
209-minimum-size-subarray-sum
2090-number-of-ways-to-arrive-at-destination
2090-number-of-ways-to-arrive-at-destination
21-merge-two-sorted-lists
21-merge-two-sorted-lists
210-course-schedule-ii
210-course-schedule-ii
2101-last-day-where-you-can-still-cross
2101-last-day-where-you-can-still-cross
2107-find-unique-binary-string
2107-find-unique-binary-string
2116-count-number-of-pairs-with-absolute-difference-k
2116-count-number-of-pairs-with-absolute-difference-k
213-house-robber-ii
213-house-robber-ii
217-contains-duplicate
217-contains-duplicate
2170-count-number-of-maximum-bitwise-or-subsets
2170-count-number-of-maximum-bitwise-or-subsets
2204-find-subsequence-of-length-k-with-the-largest-sum
2204-find-subsequence-of-length-k-with-the-largest-sum
222-count-complete-tree-nodes
222-count-complete-tree-nodes
2229-maximum-fruits-harvested-after-at-most-k-steps
2229-maximum-fruits-harvested-after-at-most-k-steps
2233-number-of-smooth-descent-periods-of-a-stock
2233-number-of-smooth-descent-periods-of-a-stock
2244-number-of-laser-beams-in-a-bank
2244-number-of-laser-beams-in-a-bank
2263-maximum-running-time-of-n-computers
2263-maximum-running-time-of-n-computers
2267-minimum-difference-in-sums-after-removal-of-elements
2267-minimum-difference-in-sums-after-removal-of-elements
2274-keep-multiplying-found-values-by-two
2274-keep-multiplying-found-values-by-two
2288-count-operations-to-obtain-zero
2288-count-operations-to-obtain-zero
231-power-of-two
231-power-of-two
2324-find-triangular-sum-of-an-array
2324-find-triangular-sum-of-an-array
234-palindrome-linked-list
234-palindrome-linked-list
2343-count-unguarded-cells-in-the-grid
2343-count-unguarded-cells-in-the-grid
View all files
Repository files navigation
README
More
items
LeetCode
About
No description, website, or topics provided.
Resources
Readme
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.