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
Type
/
to 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 }}
Devanshii-git
/
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
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
592 Commits
592 Commits
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
1018-largest-perimeter-triangle
1018-largest-perimeter-triangle
1047-maximize-sum-of-array-after-k-negations
1047-maximize-sum-of-array-after-k-negations
1054-complement-of-base-10-integer
1054-complement-of-base-10-integer
1062-partition-array-into-three-parts-with-equal-sum
1062-partition-array-into-three-parts-with-equal-sum
1071-binary-prefix-divisible-by-5
1071-binary-prefix-divisible-by-5
1079-sum-of-root-to-leaf-binary-numbers
1079-sum-of-root-to-leaf-binary-numbers
1086-divisor-game
1086-divisor-game
11-container-with-most-water
11-container-with-most-water
110-balanced-binary-tree
110-balanced-binary-tree
1111-minimum-score-triangulation-of-polygon
1111-minimum-score-triangulation-of-polygon
112-path-sum
112-path-sum
1127-last-stone-weight
1127-last-stone-weight
1159-smallest-subsequence-of-distinct-characters
1159-smallest-subsequence-of-distinct-characters
118-pascals-triangle
118-pascals-triangle
119-pascals-triangle-ii
119-pascals-triangle-ii
121-best-time-to-buy-and-sell-stock
121-best-time-to-buy-and-sell-stock
1222-remove-covered-intervals
1222-remove-covered-intervals
1234-number-of-paths-with-max-score
1234-number-of-paths-with-max-score
1236-n-th-tribonacci-number
1236-n-th-tribonacci-number
125-valid-palindrome
125-valid-palindrome
1284-four-divisors
1284-four-divisors
1285-balance-a-binary-search-tree
1285-balance-a-binary-search-tree
13-roman-to-integer
13-roman-to-integer
136-single-number
136-single-number
14-longest-common-prefix
14-longest-common-prefix
141-linked-list-cycle
141-linked-list-cycle
1445-number-of-sub-arrays-of-size-k-and-average-greater-than-or-equal-to-threshold
1445-number-of-sub-arrays-of-size-k-and-average-greater-than-or-equal-to-threshold
1460-number-of-substrings-containing-all-three-characters
1460-number-of-substrings-containing-all-three-characters
1476-count-negative-numbers-in-a-sorted-matrix
1476-count-negative-numbers-in-a-sorted-matrix
15-3sum
15-3sum
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
1520-number-of-steps-to-reduce-a-number-in-binary-representation-to-one
1520-number-of-steps-to-reduce-a-number-in-binary-representation-to-one
1522-stone-game-iii
1522-stone-game-iii
153-find-minimum-in-rotated-sorted-array
153-find-minimum-in-rotated-sorted-array
1557-check-if-a-string-contains-all-binary-codes-of-size-k
1557-check-if-a-string-contains-all-binary-codes-of-size-k
16-3sum-closest
16-3sum-closest
1630-count-odd-numbers-in-an-interval-range
1630-count-odd-numbers-in-an-interval-range
1642-water-bottles
1642-water-bottles
1658-minimum-swaps-to-arrange-a-binary-grid
1658-minimum-swaps-to-arrange-a-binary-grid
1663-detect-cycles-in-2d-grid
1663-detect-cycles-in-2d-grid
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
1704-special-positions-in-a-binary-matrix
1704-special-positions-in-a-binary-matrix
171-excel-sheet-column-number
171-excel-sheet-column-number
1716-maximum-non-negative-product-in-a-matrix
1716-maximum-non-negative-product-in-a-matrix
1756-minimum-deletions-to-make-string-balanced
1756-minimum-deletions-to-make-string-balanced
1764-maximum-repeating-substring
1764-maximum-repeating-substring
1793-minimum-moves-to-make-array-complementary
1793-minimum-moves-to-make-array-complementary
1800-concatenation-of-consecutive-binary-numbers
1800-concatenation-of-consecutive-binary-numbers
1807-partitioning-into-minimum-number-of-deci-binary-numbers
1807-partitioning-into-minimum-number-of-deci-binary-numbers
1817-calculate-money-in-leetcode-bank
1817-calculate-money-in-leetcode-bank
1845-largest-submatrix-with-rearrangements
1845-largest-submatrix-with-rearrangements
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
190-reverse-bits
190-reverse-bits
191-number-of-1-bits
191-number-of-1-bits
1910-check-if-binary-string-has-at-most-one-segment-of-ones
1910-check-if-binary-string-has-at-most-one-segment-of-ones
196-delete-duplicate-emails
196-delete-duplicate-emails
1961-maximum-ice-cream-bars
1961-maximum-ice-cream-bars
1968-maximum-building-height
1968-maximum-building-height
1972-rotating-the-box
1972-rotating-the-box
1984-maximum-distance-between-a-pair-of-values
1984-maximum-distance-between-a-pair-of-values
1990-get-biggest-three-rhombus-sums-in-a-grid
1990-get-biggest-three-rhombus-sums-in-a-grid
2-add-two-numbers
2-add-two-numbers
20-valid-parentheses
20-valid-parentheses
2015-determine-whether-matrix-can-be-obtained-by-rotation
2015-determine-whether-matrix-can-be-obtained-by-rotation
202-happy-number
202-happy-number
203-remove-linked-list-elements
203-remove-linked-list-elements
2037-count-square-sum-triples
2037-count-square-sum-triples
2043-cyclically-rotating-a-grid
2043-cyclically-rotating-a-grid
205-isomorphic-strings
205-isomorphic-strings
206-reverse-linked-list
206-reverse-linked-list
2099-number-of-strings-that-appear-as-substrings-in-word
2099-number-of-strings-that-appear-as-substrings-in-word
21-merge-two-sorted-lists
21-merge-two-sorted-lists
2107-find-unique-binary-string
2107-find-unique-binary-string
215-kth-largest-element-in-an-array
215-kth-largest-element-in-an-array
2160-minimum-operations-to-make-a-uni-value-grid
2160-minimum-operations-to-make-a-uni-value-grid
2178-walking-robot-simulation-ii
2178-walking-robot-simulation-ii
2197-decode-the-slanted-ciphertext
2197-decode-the-slanted-ciphertext
22-generate-parentheses
22-generate-parentheses
2216-delete-the-middle-node-of-a-linked-list
2216-delete-the-middle-node-of-a-linked-list
222-count-complete-tree-nodes
222-count-complete-tree-nodes
2245-destroying-asteroids
2245-destroying-asteroids
2248-minimum-cost-of-buying-candies-with-discount
2248-minimum-cost-of-buying-candies-with-discount
225-implement-stack-using-queues
225-implement-stack-using-queues
226-invert-binary-tree
226-invert-binary-tree
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
228-summary-ranges
228-summary-ranges
2288-count-operations-to-obtain-zero
2288-count-operations-to-obtain-zero
2306-create-binary-tree-from-descriptions
2306-create-binary-tree-from-descriptions
231-power-of-two
231-power-of-two
232-implement-queue-using-stacks
232-implement-queue-using-stacks
2346-largest-3-same-digit-number-in-string
2346-largest-3-same-digit-number-in-string
242-valid-anagram
242-valid-anagram
2429-design-a-food-rating-system
2429-design-a-food-rating-system
View all files
About
My (almost)daily leetcode grind
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.