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 }}
danishmustafa86
/
Leetcode_Problems_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
Latest commit
History
2,546 Commits
2,546 Commits
Folders and files
Name
Name
Last commit message
Last commit date
0014-longest-common-prefix
0014-longest-common-prefix
0026-remove-duplicates-from-sorted-array
0026-remove-duplicates-from-sorted-array
0028-find-the-index-of-the-first-occurrence-in-a-string
0028-find-the-index-of-the-first-occurrence-in-a-string
0053-maximum-subarray
0053-maximum-subarray
0066-plus-one
0066-plus-one
0125-valid-palindrome
0125-valid-palindrome
0557-reverse-words-in-a-string-iii
0557-reverse-words-in-a-string-iii
0566-reshape-the-matrix
0566-reshape-the-matrix
0657-robot-return-to-origin
0657-robot-return-to-origin
0680-valid-palindrome-ii
0680-valid-palindrome-ii
0961-long-pressed-name
0961-long-pressed-name
1-two-sum
1-two-sum
10-regular-expression-matching
10-regular-expression-matching
100-same-tree
100-same-tree
101-symmetric-tree
101-symmetric-tree
1013-fibonacci-number
1013-fibonacci-number
1014-k-closest-points-to-origin
1014-k-closest-points-to-origin
1019-squares-of-a-sorted-array
1019-squares-of-a-sorted-array
102-binary-tree-level-order-traversal
102-binary-tree-level-order-traversal
1023-time-based-key-value-store
1023-time-based-key-value-store
103-binary-tree-zigzag-level-order-traversal
103-binary-tree-zigzag-level-order-traversal
1031-add-to-array-form-of-integer
1031-add-to-array-form-of-integer
1037-minimum-number-of-k-consecutive-bit-flips
1037-minimum-number-of-k-consecutive-bit-flips
1039-find-the-town-judge
1039-find-the-town-judge
104-maximum-depth-of-binary-tree
104-maximum-depth-of-binary-tree
1046-max-consecutive-ones-iii
1046-max-consecutive-ones-iii
107-binary-tree-level-order-traversal-ii
107-binary-tree-level-order-traversal-ii
108-convert-sorted-array-to-binary-search-tree
108-convert-sorted-array-to-binary-search-tree
11-container-with-most-water
11-container-with-most-water
110-balanced-binary-tree
110-balanced-binary-tree
111-minimum-depth-of-binary-tree
111-minimum-depth-of-binary-tree
112-path-sum
112-path-sum
1127-last-stone-weight
1127-last-stone-weight
1128-remove-all-adjacent-duplicates-in-string
1128-remove-all-adjacent-duplicates-in-string
1146-greatest-common-divisor-of-strings
1146-greatest-common-divisor-of-strings
116-populating-next-right-pointers-in-each-node
116-populating-next-right-pointers-in-each-node
117-populating-next-right-pointers-in-each-node-ii
117-populating-next-right-pointers-in-each-node-ii
1171-shortest-path-in-binary-matrix
1171-shortest-path-in-binary-matrix
118-pascals-triangle
118-pascals-triangle
1196-filling-bookcase-shelves
1196-filling-bookcase-shelves
1197-parsing-a-boolean-expression
1197-parsing-a-boolean-expression
12-integer-to-roman
12-integer-to-roman
1205-defanging-an-ip-address
1205-defanging-an-ip-address
1207-delete-nodes-and-return-forest
1207-delete-nodes-and-return-forest
121-best-time-to-buy-and-sell-stock
121-best-time-to-buy-and-sell-stock
122-best-time-to-buy-and-sell-stock-ii
122-best-time-to-buy-and-sell-stock-ii
1231-replace-elements-with-greatest-element-on-right-side
1231-replace-elements-with-greatest-element-on-right-side
1236-n-th-tribonacci-number
1236-n-th-tribonacci-number
1243-sum-of-nodes-with-even-valued-grandparent
1243-sum-of-nodes-with-even-valued-grandparent
125-valid-palindrome
125-valid-palindrome
1254-deepest-leaves-sum
1254-deepest-leaves-sum
128-longest-consecutive-sequence
128-longest-consecutive-sequence
129-sum-root-to-leaf-numbers
129-sum-root-to-leaf-numbers
1293-three-consecutive-odds
1293-three-consecutive-odds
1298-reverse-substrings-between-each-pair-of-parentheses
1298-reverse-substrings-between-each-pair-of-parentheses
13-roman-to-integer
13-roman-to-integer
130-surrounded-regions
130-surrounded-regions
1329-minimum-cost-to-move-chips-to-the-same-position
1329-minimum-cost-to-move-chips-to-the-same-position
133-clone-graph
133-clone-graph
135-candy
135-candy
136-single-number
136-single-number
1360-maximum-length-of-a-concatenated-string-with-unique-characters
1360-maximum-length-of-a-concatenated-string-with-unique-characters
1364-tuple-with-same-product
1364-tuple-with-same-product
138-copy-list-with-random-pointer
138-copy-list-with-random-pointer
1381-maximum-score-words-formed-by-letters
1381-maximum-score-words-formed-by-letters
14-longest-common-prefix
14-longest-common-prefix
140-word-break-ii
140-word-break-ii
1406-subtract-the-product-and-sum-of-digits-of-an-integer
1406-subtract-the-product-and-sum-of-digits-of-an-integer
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
143-reorder-list
143-reorder-list
1434-decrypt-string-from-alphabet-to-integer-mapping
1434-decrypt-string-from-alphabet-to-integer-mapping
1435-xor-queries-of-a-subarray
1435-xor-queries-of-a-subarray
144-binary-tree-preorder-traversal
144-binary-tree-preorder-traversal
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
1473-find-the-longest-substring-containing-vowels-in-even-counts
1473-find-the-longest-substring-containing-vowels-in-even-counts
1482-how-many-numbers-are-smaller-than-the-current-number
1482-how-many-numbers-are-smaller-than-the-current-number
1496-lucky-numbers-in-a-matrix
1496-lucky-numbers-in-a-matrix
1498-find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
1498-find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
15-3sum
15-3sum
150-evaluate-reverse-polish-notation
150-evaluate-reverse-polish-notation
1502-construct-k-palindrome-strings
1502-construct-k-palindrome-strings
1505-create-target-array-in-the-given-order
1505-create-target-array-in-the-given-order
151-reverse-words-in-a-string
151-reverse-words-in-a-string
1510-find-lucky-integer-in-an-array
1510-find-lucky-integer-in-an-array
1511-count-number-of-teams
1511-count-number-of-teams
1516-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
1516-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
152-maximum-product-subarray
152-maximum-product-subarray
153-find-minimum-in-rotated-sorted-array
153-find-minimum-in-rotated-sorted-array
1537-maximum-score-after-splitting-a-string
1537-maximum-score-after-splitting-a-string
1544-count-good-nodes-in-binary-tree
1544-count-good-nodes-in-binary-tree
155-min-stack
155-min-stack
1558-course-schedule-iv
1558-course-schedule-iv
1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence
1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence
1567-maximum-number-of-vowels-in-a-substring-of-given-length
1567-maximum-number-of-vowels-in-a-substring-of-given-length
1570-final-prices-with-a-special-discount-in-a-shop
1570-final-prices-with-a-special-discount-in-a-shop
1574-maximum-product-of-two-elements-in-an-array
1574-maximum-product-of-two-elements-in-an-array
1576-reorder-routes-to-make-all-paths-lead-to-the-city-zero
1576-reorder-routes-to-make-all-paths-lead-to-the-city-zero
1580-shuffle-the-array
1580-shuffle-the-array
View all files
Repository files navigation
README
More
items
All Data Structures Leetcode_Solutions
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.