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 }}
daniyalalii
/
LeetCode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
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
696 Commits
696 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1-two-sum
1-two-sum
100-same-tree
100-same-tree
1001-n-repeated-element-in-size-2n-array
1001-n-repeated-element-in-size-2n-array
101-symmetric-tree
101-symmetric-tree
1013-fibonacci-number
1013-fibonacci-number
1018-largest-perimeter-triangle
1018-largest-perimeter-triangle
1047-maximize-sum-of-array-after-k-negations
1047-maximize-sum-of-array-after-k-negations
1062-partition-array-into-three-parts-with-equal-sum
1062-partition-array-into-three-parts-with-equal-sum
1078-remove-outermost-parentheses
1078-remove-outermost-parentheses
108-convert-sorted-array-to-binary-search-tree
108-convert-sorted-array-to-binary-search-tree
1086-divisor-game
1086-divisor-game
11-container-with-most-water
11-container-with-most-water
110-balanced-binary-tree
110-balanced-binary-tree
1168-duplicate-zeros
1168-duplicate-zeros
118-pascals-triangle
118-pascals-triangle
119-pascals-triangle-ii
119-pascals-triangle-ii
1205-defanging-an-ip-address
1205-defanging-an-ip-address
121-best-time-to-buy-and-sell-stock
121-best-time-to-buy-and-sell-stock
125-valid-palindrome
125-valid-palindrome
1264-maximum-number-of-words-you-can-type
1264-maximum-number-of-words-you-can-type
1293-three-consecutive-odds
1293-three-consecutive-odds
1302-delete-characters-to-make-fancy-string
1302-delete-characters-to-make-fancy-string
1329-minimum-cost-to-move-chips-to-the-same-position
1329-minimum-cost-to-move-chips-to-the-same-position
1341-split-a-string-in-balanced-strings
1341-split-a-string-in-balanced-strings
136-single-number
136-single-number
137-single-number-ii
137-single-number-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
142-linked-list-cycle-ii
142-linked-list-cycle-ii
1421-find-numbers-with-even-number-of-digits
1421-find-numbers-with-even-number-of-digits
1426-find-n-unique-integers-sum-up-to-zero
1426-find-n-unique-integers-sum-up-to-zero
143-reorder-list
143-reorder-list
1437-minimum-insertion-steps-to-make-a-string-palindrome
1437-minimum-insertion-steps-to-make-a-string-palindrome
144-binary-tree-preorder-traversal
144-binary-tree-preorder-traversal
1444-number-of-steps-to-reduce-a-number-to-zero
1444-number-of-steps-to-reduce-a-number-to-zero
1476-count-negative-numbers-in-a-sorted-matrix
1476-count-negative-numbers-in-a-sorted-matrix
148-sort-list
148-sort-list
1482-how-many-numbers-are-smaller-than-the-current-number
1482-how-many-numbers-are-smaller-than-the-current-number
15-3sum
15-3sum
150-evaluate-reverse-polish-notation
150-evaluate-reverse-polish-notation
1510-find-lucky-integer-in-an-array
1510-find-lucky-integer-in-an-array
152-maximum-product-subarray
152-maximum-product-subarray
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
1548-check-if-all-1s-are-at-least-length-k-places-away
1548-check-if-all-1s-are-at-least-length-k-places-away
155-min-stack
155-min-stack
1552-build-an-array-with-stack-operations
1552-build-an-array-with-stack-operations
1570-final-prices-with-a-special-discount-in-a-shop
1570-final-prices-with-a-special-discount-in-a-shop
1580-shuffle-the-array
1580-shuffle-the-array
16-3sum-closest
16-3sum-closest
160-intersection-of-two-linked-lists
160-intersection-of-two-linked-lists
1610-xor-operation-in-an-array
1610-xor-operation-in-an-array
162-find-peak-element
162-find-peak-element
1626-can-make-arithmetic-progression-from-sequence
1626-can-make-arithmetic-progression-from-sequence
1630-count-odd-numbers-in-an-interval-range
1630-count-odd-numbers-in-an-interval-range
1666-make-the-string-great
1666-make-the-string-great
1674-minimum-operations-to-make-array-equal
1674-minimum-operations-to-make-array-equal
168-excel-sheet-column-title
168-excel-sheet-column-title
1683-maximum-number-of-coins-you-can-get
1683-maximum-number-of-coins-you-can-get
169-majority-element
169-majority-element
1700-minimum-time-to-make-rope-colorful
1700-minimum-time-to-make-rope-colorful
172-factorial-trailing-zeroes
172-factorial-trailing-zeroes
1720-crawler-log-folder
1720-crawler-log-folder
1737-maximum-nesting-depth-of-the-parentheses
1737-maximum-nesting-depth-of-the-parentheses
1791-richest-customer-wealth
1791-richest-customer-wealth
1848-sum-of-unique-elements
1848-sum-of-unique-elements
189-rotate-array
189-rotate-array
19-remove-nth-node-from-end-of-list
19-remove-nth-node-from-end-of-list
190-reverse-bits
190-reverse-bits
1951-find-the-winner-of-the-circular-game
1951-find-the-winner-of-the-circular-game
1960-check-if-the-sentence-is-pangram
1960-check-if-the-sentence-is-pangram
2-add-two-numbers
2-add-two-numbers
20-valid-parentheses
20-valid-parentheses
203-remove-linked-list-elements
203-remove-linked-list-elements
2037-count-square-sum-triples
2037-count-square-sum-triples
204-count-primes
204-count-primes
2048-build-array-from-permutation
2048-build-array-from-permutation
205-isomorphic-strings
205-isomorphic-strings
2058-concatenation-of-array
2058-concatenation-of-array
206-reverse-linked-list
206-reverse-linked-list
209-minimum-size-subarray-sum
209-minimum-size-subarray-sum
21-merge-two-sorted-lists
21-merge-two-sorted-lists
2113-find-the-kth-largest-integer-in-the-array
2113-find-the-kth-largest-integer-in-the-array
2128-reverse-prefix-of-word
2128-reverse-prefix-of-word
2137-final-value-of-variable-after-performing-operations
2137-final-value-of-variable-after-performing-operations
215-kth-largest-element-in-an-array
215-kth-largest-element-in-an-array
2169-simple-bank-system
2169-simple-bank-system
217-contains-duplicate
217-contains-duplicate
219-contains-duplicate-ii
219-contains-duplicate-ii
2199-two-furthest-houses-with-different-colors
2199-two-furthest-houses-with-different-colors
2210-find-target-indices-after-sorting-array
2210-find-target-indices-after-sorting-array
2216-delete-the-middle-node-of-a-linked-list
2216-delete-the-middle-node-of-a-linked-list
2219-maximum-number-of-words-found-in-sentences
2219-maximum-number-of-words-found-in-sentences
2231-find-first-palindromic-string-in-the-array
2231-find-first-palindromic-string-in-the-array
2233-number-of-smooth-descent-periods-of-a-stock
2233-number-of-smooth-descent-periods-of-a-stock
225-implement-stack-using-queues
225-implement-stack-using-queues
2265-partition-array-according-to-given-pivot
2265-partition-array-according-to-given-pivot
2274-keep-multiplying-found-values-by-two
2274-keep-multiplying-found-values-by-two
2283-sort-even-and-odd-indices-independently
2283-sort-even-and-odd-indices-independently
View all files
Repository files navigation
README
More
items
LeetCode
This repo is created for solutions of LeetCode Problems.
About
This repo is created for solutions of LeetCode Problems.
Topics
algorithms
cpp
data-structures
leetcode
leetcode-solutions
solutions
Resources
Readme
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.