Skip to content
DevGod Repo
GitHub
Twitch
YouTube
Blog
Select theme
Dark
Light
Auto
Other
Blog
Home
Leetcode 763: Partition Labels
Leetcode 2780: Minimum Index of a Valids Split
Leetcode 3169: Count Days Without Meetings
The k-th Lexicographical String of All Happy Strings of Length n
Product of the Last K Numbers
Leetcode 2516: Take K of Each Character From Left and Right
Leetcode 2275: Largest Combination With Bitwise AND Greater Than Zero
Leetcode 1106: Parsing A Boolean Expression
Leetcode 962: Maximum Width Ramp
Leetcode 921: Minimum Add To Make Parentheses Valid
Leetcode 1963: Minimum Number of Swaps to Make the String Balanced
Leetcode 2696: Minimum String Length After Removing Substrings
Leetcode 3011: Find if Array Can Be Sorted
Games
Home
devgod2600
Puzzles
Home
march25
Information
Templates
Home
binarySearch
kadaneAlgo
stdIn
unionFind
Solutions
Advent Of Code
Home
2015-day1
2016-day1
2024-day1
2024-day10
2024-day2
2024-day3
2024-day4
2024-day5
2024-day6
2024-day7
2024-day9
Codeforces
Home
1A
2A
32B
50A
59A
110A
158A
200B
231A
236A
271A
281A
339A
617A
1367B
1624A
1971B
1978A
1987A
1989C
1992B
1993A
1996A
2000A
2000B
2003A
2004A
2008C
2009B
2010A
2010B
2059A
CSS Battle
Home
battle1
battle2
battle3
battle4
battle5
battle6
battle7
Leetcode
Home
1-two-sum
2-add-two-numbers
3-longest-substring-without-repeating-characters
4-median-of-two-sorted-arrays
5-longest-palindromic-substring
6-zigzag-conversion
7-reverse-integer
8-string-to-integer-atoi
9-palindrome-number
10-regular-expression-matching
11-container-with-most-water
12-integer-to-roman
13-roman-to-integer
14-longest-common-prefix
15-3sum
17-letter-combinations-of-a-phone-number
19-remove-nth-node-from-end-of-list
20-valid-parentheses
21-merge-two-sorted-lists
22-generate-parentheses
23-merge-k-sorted-lists
24-swap-nodes-in-pairs
26-remove-duplicates-from-sorted-array
27-remove-element
28-find-the-index-of-the-first-occurrence-in-a-string
29-divide-two-integers
31-next-permutation
32-longest-valid-parentheses
33-search-in-rotated-sorted-array
34-find-first-and-last-position-of-element-in-sorted-array
35-search-insert-position
36-valid-sudoku
38-count-and-say
39-combination-sum
40-combination-sum-ii
41-first-missing-positive
42-trapping-rain-water
43-multiply-strings
45-jump-game-ii
46-permutations
47-permutations-ii
49-group-anagrams
50-powx-n
53-maximum-subarray
54-spiral-matrix
55-jump-game
56-merge-intervals
57-insert-interval
58-length-of-last-word
59-spiral-matrix-ii
61-rotate-list
62-unique-paths
63-unique-paths-ii
64-minimum-path-sum
65-valid-number
66-plus-one
67-add-binary
69-sqrtx
70-climbing-stairs
74-search-a-2d-matrix
75-sort-colors
76-minimum-window-substring
77-combinations
78-subsets
79-word-search
80-remove-duplicates-from-sorted-array-ii
81-search-in-rotated-sorted-array-ii
83-remove-duplicates-from-sorted-list
85-maximal-rectangle
86-partition-list
88-merge-sorted-array
89-gray-code
92-reverse-linked-list-ii
93-restore-ip-addresses
94-binary-tree-inorder-traversal
96-unique-binary-search-trees
100-same-tree
101-symmetric-tree
104-maximum-depth-of-binary-tree
108-convert-sorted-array-to-binary-search-tree
109-convert-sorted-list-to-binary-search-tree
110-balanced-binary-tree
111-minimum-depth-of-binary-tree
112-path-sum
118-pascals-triangle
119-pascals-triangle-ii
120-triangle
121-best-time-to-buy-and-sell-stock
124-binary-tree-maximum-path-sum
125-valid-palindrome
129-sum-root-to-leaf-numbers
134-gas-station
136-single-number
137-single-number-ii
138-copy-list-with-random-pointer
140-word-break-ii
141-linked-list-cycle
143-reorder-list
144-binary-tree-preorder-traversal
145-binary-tree-postorder-traversal
148-sort-list
151-reverse-words-in-a-string
155-min-stack
160-intersection-of-two-linked-lists
165-compare-version-numbers
167-two-sum-ii-input-array-is-sorted
168-excel-sheet-column-title
169-majority-element
171-excel-sheet-column-number
175-combine-two-tables
179-largest-number
181-employees-earning-more-than-their-managers
182-combine-two-tables
183-customers-who-never-order
187-repeated-dna-sequences
189-rotate-array
190-reverse-bits
191-number-of-1-bits
193-valid-phone-numbers
194-transpose-file
195-tenth-line
196-delete-duplicate-emails
197-rising-temperature
198-house-robber
200-number-of-islands
201-bitwise-and-of-numbers-range
202-happy-number
203-remove-linked-list-elements
205-isomorphic-strings
206-reverse-linked-list
207-course-schedule
210-course-schedule-ii
212-word-search-ii
213-house-robber-ii
214-shortest-palindrome
217-contains-duplicate
219-contains-duplicate-ii
222-count-complete-tree-nodes
225-implement-stack-using-queues
226-invert-binary-tree
228-summary-ranges
229-majority-element-ii
231-power-of-two
232-implement-queue-using-stacks
233-number-of-digit-one
234-palindrome-linked-list
237-delete-node-in-a-linked-list
238-product-of-array-except-self
239-sliding-window-maximum
242-valid-anagram
257-binary-tree-paths
258-add-digits
260-single-number-iii
263-ugly-number
264-ugly-number-ii
268-missing-number
273-integer-to-english-words
274-h-index
278-first-bad-version
279-perfect-squares
283-move-zeroes
287-find-the-duplicate-number
290-word-pattern
292-nim-game
299-bulls-and-cows
300-longest-increasing-subsequence
303-range-sum-query-immutable
310-minimum-height-trees
322-coin-change
326-power-of-three
330-patching-array
337-house-robber-iii
338-counting-bits
341-flatten-nested-list-iterator
342-power-of-four
344-reverse-string
345-reverse-vowels-of-a-string
347-top-k-frequent-elements
349-intersection-of-two-arrays
350-intersection-of-two-arrays-ii
355-design-twitter
367-valid-perfect-square
371-sum-of-two-integers
373-find-k-pairs-with-smallest-sums
374-guess-number-higher-or-lower
377-combination-sum-iv
380-insert-delete-getrandom-o1
383-ransom-note
386-lexicographical-numbers
387-first-unique-character-in-a-string
389-find-the-difference
392-is-subsequence
401-binary-watch
402-remove-k-digits
404-sum-of-left-leaves
405-convert-a-number-to-hexadecimal
407-trapping-rain-water-ii
409-longest-palindrome
412-fizz-buzz
414-third-maximum-number
415-add-strings
419-battleships-in-a-board
434-number-of-segments-in-a-string
435-non-overlapping-intervals
440-k-th-smallest-in-lexicographical-order
441-arranging-coins
442-find-all-duplicates-in-an-array
448-find-all-numbers-disappeared-in-an-array
451-sort-characters-by-frequency
452-minimum-number-of-arrows-to-burst-balloons
455-assign-cookies
459-repeated-substring-pattern
461-hamming-distance
463-island-perimeter
470-implement-rand10-using-rand7
475-heaters
482-license-key-formatting
485-max-consecutive-ones
492-construct-the-rectangle
495-teemo-attacking
496-next-greater-element-i
498-diagonal-traverse
500-keyboard-row
501-find-mode-in-binary-search-tree
502-ipo
504-base-7
506-relative-ranks
507-perfect-number
509-fibonacci-number
511-game-play-analysis-i
513-find-bottom-left-tree-value
515-find-largest-value-in-each-tree-row
520-detect-capital
521-longest-uncommon-subsequence-i
523-continuous-subarray-sum
525-contiguous-array
530-minimum-absolute-difference-in-bst
535-encode-and-decode-tinyurl
539-minimum-time-difference
541-reverse-string-ii
542-01-matrix
543-diameter-of-binary-tree
547-number-of-provinces
551-student-attendance-record-i
552-student-attendance-record-ii
557-reverse-words-in-a-string-iii
559-maximum-depth-of-n-ary-tree
560-subarray-sum-equals-k
561-array-partition
563-binary-tree-tilt
564-find-the-closest-palindrome
566-reshape-the-matrix
567-permutation-in-string
572-subtree-of-another-tree
575-distribute-candies
577-employee-bonus
584-find-customer-referee
586-customer-placing-the-largest-number-of-orders
589-n-ary-tree-preorder-traversal
590-n-ary-tree-postorder-traversal
592-fraction-addition-and-subtraction
594-longest-harmonious-subsequence
595-big-countries
596-classes-more-than-5-students
598-range-addition-ii
599-minimum-index-sum-of-two-lists
605-can-place-flowers
606-construct-string-from-binary-tree
607-sales-person
610-triangle-judgement
617-merge-two-binary-trees
619-biggest-single-number
620-not-boring-movies
621-task-scheduler
623-add-one-row-to-tree
627-swap-salary
628-maximum-product-of-three-numbers
632-smallest-range-covering-elements-from-k-lists
633-sum-of-square-numbers
637-average-of-levels-in-binary-tree
641-design-circular-deque
643-maximum-average-subarray-i
648-replace-words
650-2-keys-keyboard
653-two-sum-iv-input-is-a-bst
657-robot-return-to-origin
661-image-smoother
664-strange-printer
670-maximum-swap
671-second-minimum-node-in-a-binary-tree
673-number-of-longest-increasing-subsequence
674-longest-continuous-increasing-subsequence
678-valid-parenthesis-string
680-valid-palindrome-ii
682-baseball-game
684-redundant-connection
693-binary-number-with-alternating-bits
696-count-binary-substrings
700-search-in-a-binary-search-tree
701-insert-into-a-binary-search-tree
703-kth-largest-element-in-a-stream
704-binary-search
705-design-hashset
706-design-hashmap
709-to-lower-case
713-subarray-product-less-than-k
714-best-time-to-buy-and-sell-stock-with-transaction-fee
717-1-bit-and-2-bit-characters
719-find-k-th-smallest-pair-distance
724-find-pivot-index
725-split-linked-list-in-parts
726-number-of-atoms
728-self-dividing-numbers
729-my-calendar-i
733-flood-fill
739-daily-temperatures
740-delete-and-earn
744-find-smallest-letter-greater-than-target
746-min-cost-climbing-stairs
747-largest-number-at-least-twice-of-others
748-shortest-completing-word
762-prime-number-of-set-bits-in-binary-representation
763-partition-labels
766-toeplitz-matrix
771-jewels-and-stones
779-k-th-symbol-in-grammar
781-rabbits-in-forest
783-minimum-distance-between-bst-nodes
785-is-graph-bipartite
791-custom-sort-string
796-rotate-string
799-champagne-tower
802-find-eventual-safe-states
804-unique-morse-code-words
806-number-of-lines-to-write-string
808-soup-servings
812-largest-triangle-area
819-most-common-word
821-shortest-distance-to-a-character
824-goat-latin
826-most-profit-assigning-work
832-flipping-an-image
834-sum-of-distances-in-tree
837-new-21-game
840-magic-squares-in-grid
846-hand-of-straights
853-car-fleet
859-buddy-strings
860-lemonade-change
862-shortest-subarray-with-sum-at-least-k
868-binary-gap
873-length-of-longest-fibonacci-subsequence
874-walking-robot-simulation
875-koko-eating-bananas
876-middle-of-the-linked-list
880-decoded-string-at-index
881-boats-to-save-people
883-projection-area-of-3d-shapes
884-uncommon-words-from-two-sentences
885-spiral-matrix-iii
888-fair-candy-swap
892-surface-area-of-3d-shapes
894-all-possible-full-binary-trees
896-monotonic-array
905-sort-array-by-parity
908-smallest-range-i
912-sort-an-array
914-x-of-a-kind-in-a-deck-of-cards
916-word-subsets
921-minimum-add-to-make-parentheses-valid
929-unique-email-addresses
930-binary-subarrays-with-sum
931-minimum-falling-path-sum
933-number-of-recent-calls
935-knight-dialer
938-range-sum-of-bst
942-di-string-match
945-minimum-increment-to-make-array-unique
947-most-stones-removed-with-same-row-or-column
948-bag-of-tokens
950-reveal-cards-in-increasing-order
951-flip-equivalent-binary-trees
962-maximum-width-ramp
974-subarray-sums-divisible-by-k
976-largest-perimeter-triangle
977-squares-of-a-sorted-array
979-distribute-coins-in-binary-tree
988-smallest-string-starting-from-leaf
992-subarrays-with-k-different-integers
995-minimum-number-of-k-consecutive-bit-flips
997-find-the-town-judge
1002-find-common-characters
1004-max-consecutive-ones-iii
1009-complement-of-base-10-integer
1010-pairs-of-songs-with-total-durations-divisible-by-60
1014-best-sightseeing-pair
1025-divisor-game
1026-maximum-difference-between-node-and-ancestor
1027-longest-arithmetic-subsequence
1028-recover-a-tree-from-preorder-traversal
1030-matrix-cells-in-distance-order
1043-partition-array-for-maximum-sum
1046-last-stone-weight
1051-height-checker
1052-grumpy-bookstore-owner
1054-distant-barcodes
1068-product-sales-analysis-i
1071-greatest-common-divisor-of-strings
1072-flip-columns-for-maximum-number-of-equal-rows
1079-letter-tile-possibilities
1089-duplicate-zeros
1105-filling-bookcase-shelves
1106-parsing-a-boolean-expression
1108-defanging-an-ip-address
1114-print-in-order
1115-print-foobar-alternately
1122-relative-sort-array
1137-n-th-tribonacci-number
1140-stone-game-ii
1143-longest-common-subsequence
1148-article-views-i
1171-remove-zero-sum-consecutive-nodes-from-linked-list
1187-make-array-strictly-increasing
1189-maximum-number-of-balloons
1201-ugly-number-iii
1207-unique-number-of-occurrences
1208-get-equal-substrings-within-budget
1221-split-a-string-in-balanced-strings
1232-check-if-it-is-a-straight-line
1233-remove-sub-folders-from-the-filesystem
1248-count-number-of-nice-subarrays
1249-minimum-remove-to-make-valid-parentheses
1255-maximum-score-words-formed-by-letters
1261-find-elements-in-a-contaminated-binary-tree
1266-minimum-time-visiting-all-points
1277-count-square-submatrices-with-all-ones
1280-students-and-examinations
1289-minimum-falling-path-sum-ii
1290-convert-binary-number-in-a-linked-list-to-integer
1310-xor-queries-of-a-subarray
1318-minimum-flips-to-make-a-or-b-equal-to-c
1323-maximum-69-number
1331-rank-transform-of-an-array
1334-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
1337-the-k-weakest-rows-in-a-matrix
1342-number-of-steps-to-reduce-a-number-to-zero
1346-check-if-n-and-its-double-exist
1351-count-negative-numbers-in-a-sorted-matrix
1352-product-of-the-last-k-numbers
1354-construct-target-array-with-multiple-sums
1356-sort-integers-by-the-number-of-1-bits
1358-number-of-substrings-containing-all-three-characters
1359-count-all-valid-pickup-and-delivery-options
1365-how-many-numbers-are-smaller-than-the-current-number
1367-linked-list-in-binary-tree
1371-find-the-longest-substring-containing-vowels-in-even-counts
1374-generate-a-string-with-characters-that-have-odd-counts
1376-time-needed-to-inform-all-employees
1377-frog-position-after-t-seconds
1378-replace-employee-id-with-the-unique-identifier
1380-lucky-numbers-in-a-matrix
1381-design-a-stack-with-increment-operation
1382-balance-a-binary-search-tree
1395-count-number-of-teams
1400-construct-k-palindrome-strings
1404-number-of-steps-to-reduce-a-number-in-binary-representation-to-one
1405-longest-happy-string
1408-string-matching-in-an-array
1411-number-of-ways-to-paint-n-3-grid
1415-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
1431-kids-with-the-greatest-number-of-candies
1436-destination-city
1438-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit
1442-count-triplets-that-can-form-two-arrays-of-equal-xor
1455-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence
1456-maximum-number-of-vowels-in-a-substring-of-given-length
1460-make-two-arrays-equal-by-reversing-subarrays
1462-course-schedule-iv
1464-maximum-product-of-two-elements-in-an-array
1470-shuffle-the-array
1475-final-prices-with-a-special-discount-in-a-shop
1476-subrectangle-queries
1480-running-sum-of-1d-array
1481-least-number-of-unique-integers-after-k-removals
1486-xor-operation-in-an-array
1492-the-kth-factor-of-n
1497-check-if-array-pairs-are-divisible-by-k
1502-can-make-arithmetic-progression-from-sequence
1503-last-moment-before-all-ants-fall-out-of-a-plank
1508-range-sum-of-sorted-subarray-sums
1509-minimum-difference-between-largest-and-smallest-value-in-three-moves
1512-number-of-good-pairs
1513-number-of-substrings-with-only-1s
1514-path-with-maximum-probability
1518-water-bottles
1524-number-of-sub-arrays-with-odd-sum
1535-find-the-winner-of-an-array-game
1542-find-longest-awesome-substring
1544-make-the-string-great
1545-find-kth-bit-in-nth-binary-string
1550-three-consecutive-odds
1552-magnetic-force-between-two-balls
1557-minimum-number-of-vertices-to-reach-all-nodes
1561-maximum-number-of-coins-you-can-get
1568-minimum-number-of-days-to-disconnect-island
1572-matrix-diagonal-sum
1574-shortest-subarray-to-be-removed-to-make-array-sorted
1588-sum-of-all-odd-length-subarrays
1590-make-sum-divisible-by-p
1593-split-a-string-into-the-max-number-of-unique-substrings
1598-crawler-log-folder
1603-design-parking-system
1605-find-valid-matrix-given-row-and-column-sums
1608-special-array-with-x-elements-greater-than-or-equal-x
1609-even-odd-tree
1614-maximum-nesting-depth-of-the-parentheses
1630-arithmetic-subarrays
1636-sort-array-by-increasing-frequency
1637-widest-vertical-area-between-two-points-containing-no-points
1646-get-maximum-in-generated-array
1652-defuse-the-bomb
1653-minimum-deletions-to-make-string-balanced
1656-design-an-ordered-stream
1657-determine-if-two-strings-are-close
1658-minimum-operations-to-reduce-x-to-zero
1662-check-if-two-string-arrays-are-equivalent
1669-merge-in-between-linked-lists
1672-count-servers-that-communicate
1672-richest-customer-wealth
1678-goal-parser-interpretation
1683-invalid-tweets
1698-partitioning-into-minimum-number-of-deci-binary-numbers
1700-number-of-students-unable-to-eat-lunch
1701-average-waiting-time
1704-determine-if-string-halves-are-alike
1710-maximum-units-on-a-truck
1716-calculate-money-in-leetcode-bank
1717-maximum-score-from-removing-substrings
1718-construct-the-lexicographically-largest-valid-sequence
1721-swapping-nodes-in-a-linked-list
1732-find-the-highest-altitude
1748-sum-of-unique-elements
1749-maximum-absolute-sum-of-any-subarray
1750-minimum-length-of-string-after-deleting-similar-ends
1752-check-if-array-is-sorted-and-rotated
1757-recyclable-and-low-fat-products
1763-longest-nice-substring
1765-map-of-highest-peak
1768-merge-strings-alternately
1769-minimum-number-of-operations-to-move-all-balls-to-each-box
1773-count-items-matching-a-rule
1780-check-if-number-is-a-sum-of-powers-of-three
1790-check-if-one-string-swap-can-make-strings-equal
1791-find-center-of-star-graph
1796-second-largest-digit-in-a-string
1800-maximum-ascending-subarray-sum
1813-sentence-similarity-iii
1823-find-the-winner-of-the-circular-game
1827-minimum-operations-to-make-the-array-increasing
1845-seat-reservation-manager
1854-maximum-population-year
1859-sorting-the-sentence
1863-sum-of-all-subset-xor-totals
1870-minimum-speed-to-arrive-on-time
1894-find-the-student-that-will-replace-the-chalk
1903-largest-odd-number-in-string
1909-remove-one-element-to-make-the-array-strictly-increasing
1910-remove-all-occurrences-of-a-substring
1915-number-of-wonderful-substrings
1920-build-array-from-permutation
1925-count-square-sum-triples
1929-concatenation-of-array
1930-unique-length-3-palindromic-subsequences
1931-painting-a-grid-with-three-different-colors
1937-maximum-number-of-points-with-cost
1942-the-number-of-the-smallest-unoccupied-chair
1945-sum-of-digits-of-string-after-convert
1957-delete-characters-to-make-fancy-string
1963-minimum-number-of-swaps-to-make-the-string-balanced
1971-find-if-path-exists-in-graph
1974-minimum-time-to-type-word-using-special-typewriter
1975-maximum-matrix-sum
1976-number-of-ways-to-arrive-at-destination
1980-find-unique-binary-string
1986-minimum-number-of-work-sessions-to-finish-the-tasks
1991-find-the-middle-index-in-array
1992-find-all-groups-of-farmland
2000-reverse-prefix-of-word
2011-final-value-of-variable-after-performing-operations
2017-grid-game
2022-convert-1d-array-into-2d-array
2027-minimum-moves-to-convert-string
2028-find-missing-observations
2033-minimum-operations-to-make-a-uni-value-grid
2037-minimum-number-of-moves-to-seat-everyone
2044-count-number-of-maximum-bitwise-or-subsets
2053-kth-distinct-string-in-an-array
2058-find-the-minimum-and-maximum-number-of-nodes-between-critical-points
2064-minimized-maximum-of-products-distributed-to-any-store
2070-most-beautiful-item-for-each-query
2073-time-needed-to-buy-tickets
2096-step-by-step-directions-from-a-binary-tree-node-to-another
2101-detonate-the-maximum-bombs
2108-find-first-palindromic-string-in-the-array
2114-maximum-number-of-words-found-in-sentences
2116-check-if-a-parentheses-string-can-be-valid
2124-check-if-all-as-appears-before-all-bs
2129-capitalize-the-title
2130-maximum-twin-sum-of-a-linked-list
2133-check-if-every-row-and-column-contains-all-numbers
2134-minimum-swaps-to-group-all-1s-together-ii
2141-maximum-running-time-of-n-computers
2144-minimum-cost-of-buying-candies-with-discount
2149-rearrange-array-elements-by-sign
2150-find-all-lonely-numbers-in-the-array
2160-minimum-sum-of-four-digit-number-after-splitting-digits
2161-partition-array-according-to-given-pivot
2162-minimum-cost-to-set-cooking-time
2181-merge-nodes-in-between-zeros
2185-counting-words-with-a-given-prefix
2192-all-ancestors-of-a-node-in-a-directed-acyclic-graph
2196-create-binary-tree-from-descriptions
2206-divide-array-into-equal-pairs
2220-minimum-bit-flips-to-convert-number
2225-find-players-with-zero-or-one-losses
2226-maximum-candies-allocated-to-k-children
2235-add-two-integers
2236-root-equals-sum-of-children
2257-count-unguarded-cells-in-the-grid
2259-remove-digit-from-number-to-maximize-result
2265-count-nodes-equal-to-average-of-subtree
2269-find-the-k-beauty-of-a-number
2270-number-of-ways-to-split-array
2275-largest-combination-with-bitwise-and-greater-than-zero
2285-maximum-total-importance-of-roads
2290-minimum-obstacle-removal-to-reach-corner
2325-decode-the-message
2326-spiral-matrix-iv
2335-minimum-amount-of-time-to-fill-cups
2342-max-sum-of-a-pair-with-equal-sum-of-digits
2349-design-a-number-container-system
2356-number-of-unique-subjects-taught-by-each-teacher
2364-count-number-of-bad-pairs
2370-longest-ideal-subsequence
2373-largest-local-values-in-a-matrix
2375-construct-smallest-number-from-di-string
2379-minimum-recolors-to-get-k-consecutive-black-blocks
2381-shifting-letters-ii
2385-amount-of-time-for-binary-tree-to-be-infected
2396-strictly-palindromic-number
2399-check-distances-between-same-letters
2401-longest-nice-subarray
2410-maximum-matching-of-players-with-trainers
2416-sum-of-prefix-scores-of-strings
2418-sort-the-people
2419-longest-subarray-with-maximum-bitwise-and
2425-bitwise-xor-of-all-pairings
2429-minimize-xor
2433-find-the-original-array-of-prefix-xor
2441-largest-positive-integer-that-exists-with-its-negative
2444-count-subarrays-with-fixed-bounds
2446-determine-if-two-events-have-conflict
2447-number-of-subarrays-with-gcd-equal-to-k
2458-height-of-binary-tree-after-subtree-removal-queries
2460-apply-operations-to-an-array
2469-convert-the-temperature
2481-minimum-cuts-to-divide-a-circle
2485-find-the-pivot-integer
2486-append-characters-to-string-to-make-subsequence
2487-remove-nodes-from-linked-list
2490-circular-sentence
2500-delete-greatest-value-in-each-row
2503-maximum-number-of-points-from-grid-queries
2516-take-k-of-each-character-from-left-and-right
2520-count-the-digits-that-divide-a-number
2523-closest-prime-numbers-in-range
2529-maximum-count-of-positive-integer-and-negative-integer
2530-maximal-score-after-applying-k-operations
2540-minimum-common-value
2558-take-gifts-from-the-richest-pile
2559-count-vowel-strings-in-ranges
2560-house-robber-iv
2562-find-the-array-concatenation-value
2563-count-the-number-of-fair-pairs
2570-merge-two-2d-arrays-by-summing-values
2574-left-and-right-sum-differences
2579-count-total-number-of-colored-cells
2582-pass-the-pillow
2583-kth-largest-sum-in-a-binary-tree
2586-count-the-number-of-vowel-strings-in-range
2591-distribute-money-to-maximum-children
2594-minimum-time-to-repair-cars
2597-the-number-of-beautiful-subsets
2600-k-items-with-the-maximum-sum
2605-form-smallest-number-from-two-digit-arrays
2618-check-if-object-instance-of-class
2619-array-prototype-last
2620-counter
2621-sleep
2622-cache-with-time-limit
2623-memoize
2626-array-reduce-transformation
2628-json-deep-equal
2629-function-composition
2634-filter-elements-from-array
2635-apply-transform-over-each-element-in-array
2637-promise-time-limit
2641-cousins-in-binary-tree-ii
2643-row-with-maximum-ones
2648-generate-fibonacci-sequence
2652-sum-multiples
2656-maximum-sum-with-exactly-k-elements
2657-find-the-prefix-common-array-of-two-arrays
2658-maximum-number-of-fish-in-a-grid
2661-first-completely-painted-row-or-column
2665-counter-ii
2666-allow-one-function-call
2667-create-hello-world-function
2678-number-of-senior-citizens
2683-neighboring-bitwise-xor
2685-count-the-number-of-complete-components
2695-array-wrapper
2696-minimum-string-length-after-removing-substrings
2697-lexicographically-smallest-palindrome
2698-find-the-punishment-number-of-an-integer
2703-return-length-of-arguments-passed
2704-to-be-or-not-to-be
2707-extra-characters-in-a-string
2715-timeout-cancellation
2718-sum-of-matrix-after-queries
2724-sort-by
2769-find-the-maximum-achievable-number
2780-minimum-index-of-a-valid-split
2798-number-of-employees-who-met-the-target
2810-faulty-keyboard
2816-double-a-number-represented-as-a-linked-list
2824-count-pairs-whose-sum-is-less-than-target
2825-make-string-a-subsequence-using-cyclic-increments
2843-count-symmetric-integers
2848-points-that-intersect-with-cars
2864-maximum-odd-binary-number
2877-create-a-dataframe-from-list
2878-get-the-size-of-a-dataframe
2879-display-the-first-three-rows
2880-select-data
2881-create-a-new-column
2882-drop-duplicate-rows
2914-minimum-number-of-changes-to-make-binary-string-beautiful
2923-find-champion-i
2924-find-champion-ii
2928-distribute-candies-among-children-i
2938-separate-black-and-white-balls
2941-divide-players-into-teams-of-equal-skill
2942-find-words-containing-character
2948-make-lexicographically-smallest-array-by-swapping-elements
2958-length-of-longest-subarray-with-at-most-k-frequency
2962-count-subarrays-where-max-element-appears-at-least-k-times
2965-find-missing-and-repeated-values
2971-find-polygon-with-the-largest-perimeter
2974-minimum-number-game
2997-minimum-number-of-operations-to-make-array-xor-equal-to-k
3005-count-elements-with-maximum-frequency
3011-find-if-array-can-be-sorted
3014-minimum-number-of-pushes-to-type-word-i
3016-minimum-number-of-pushes-to-type-word-ii
3028-ant-on-the-boundary
3034-number-of-subarrays-that-match-a-pattern-i
3042-count-prefix-and-suffix-pairs-i
3043-find-the-length-of-the-longest-common-prefix
3046-split-the-array
3066-minimum-operations-to-exceed-threshold-value-ii
3074-apple-redistribution-into-boxes
3092-most-frequent-ids
3105-longest-strictly-increasing-or-strictly-decreasing-subarray
3106-lexicographically-smallest-string-after-operations-with-constraint
3107-minimum-operations-to-make-median-of-array-equal-to-k
3110-score-of-a-string
3115-maximum-prime-difference
3116-kth-smallest-amount-with-single-denomination-combination
3120-count-the-number-of-special-characters-i
3121-count-the-number-of-special-characters-ii
3122-minimum-number-of-operations-to-satisfy-conditions
3132-find-the-integer-added-to-array-ii
3133-minimum-array-end
3138-minimum-length-of-anagram-concatenation
3146-permutation-difference-between-two-strings
3151-special-array-i
3152-special-array-ii
3153-sum-of-digit-differences-of-all-pairs
3161-find-the-number-of-distinct-colors-among-the-balls
3163-string-compression-iii
3168-minimum-number-of-chairs-in-a-waiting-room
3169-count-days-without-meetings
3174-clear-digits
3178-find-the-child-who-has-the-ball-after-k-seconds
3179-find-the-n-th-value-after-k-seconds
3180-maximum-total-reward-using-operations-i
3181-design-a-stack-with-increment-operation
3184-count-pairs-that-form-a-complete-day-i
3185-count-pairs-that-form-a-complete-day-ii
3190-find-minimum-operations-to-make-all-elements-divisible-by-three
3191-minimum-operations-to-make-binary-array-elements-equal-to-one-i
3192-minimum-operations-to-make-binary-array-elements-equal-to-one-ii
3194-minimum-average-of-smallest-and-largest-elements
3200-maximum-height-of-a-triangle
3206-alternating-groups-i
3208-alternating-groups-ii
3210-find-the-encrypted-string
3211-generate-binary-strings-without-adjacent-zeros
3216-lexicographically-smallest-string-after-a-swap
3217-delete-nodes-from-linked-list-present-in-array
3222-find-the-winning-player-in-coin-game
3223-minimum-length-of-string-after-operations
3224-minimum-array-changes-to-make-differences-equal
3226-number-of-bit-changes-to-make-two-integers-equal
3232-find-if-digit-game-can-be-won
3233-find-the-count-of-numbers-which-are-not-special
3234-count-the-number-of-substrings-with-dominant-ones
3238-find-the-number-of-winning-players
3239-minimum-number-of-flips-to-make-binary-grid-palindromic-i
3242-design-neighbor-sum-service
3243-shortest-distance-after-road-addition-queries-i
3248-snake-in-matrix
3249-count-the-number-of-good-nodes
3250-find-the-count-of-monotonic-pairs-i
3254-find-the-power-of-k-size-subarrays-i
3270-find-the-key-of-the-numbers
3271-hash-divided-string
3274-check-if-two-chessboard-squares-have-the-same-color
3280-convert-date-to-binary
3285-find-indices-of-stable-mountains
3289-the-two-sneaky-numbers-of-digitville
3295-report-spam-message
3300-minimum-element-after-replacement-with-digit-sum
3304-find-the-k-th-character-in-string-game-i
3306-count-of-substrings-containing-every-vowel-and-k-consonants-ii
3309-maximum-possible-number-by-binary-concatenation
3318-find-x-sum-of-all-k-long-subarrays-i
3324-find-the-sequence-of-strings-appeared-on-the-screen
3325-count-substrings-with-k-frequency-characters-i
3354-make-array-elements-equal-to-zero
3356-zero-array-transformation-ii
3360-stone-removal-game
3370-smallest-number-with-all-set-bits
3417-zigzag-grid-traversal-with-skip
3436-find-valid-emails
3438-find-valid-pair-of-adjacent-digits-in-string
3452-sum-of-good-numbers
3457-eat-pizzas
3465-find-products-with-valid-serial-numbers
Project Euler
Home
1
2
3
4
5
6
7
8
9
10
13
16
25
30
48
Advent Of Code Solutions
2015-day1
2015-day1
2016-day1
2016-day1
2024-day1
2024-day1
2024-day10
2024-day10
2024-day2
2024-day2
2024-day3
2024-day3
2024-day4
2024-day4
2024-day5
2024-day5
2024-day6
2024-day6
2024-day7
2024-day7
2024-day9
2024-day9