https://leetcode.com/problems/divide-players-into-teams-of-equal-skill/description/
Sum of products of pairs with equal sums #medium #math
Sum of products of pairs with equal sums #medium #math
👍3
https://leetcode.com/problems/longest-square-streak-in-an-array/description/
Longest quadratic subset #medium #hashmap #math
Longest quadratic subset #medium #hashmap #math
👍2
https://leetcode.com/problems/product-of-the-last-k-numbers/description/
Running suffix product #medium #math #prefix_product
Running suffix product #medium #math #prefix_product
👍2🔥1
Number as sum of distinct powers of 3 #medium #math
https://leetcode.com/problems/check-if-number-is-a-sum-of-powers-of-three/description/
https://leetcode.com/problems/check-if-number-is-a-sum-of-powers-of-three/description/
👍1🔥1
https://leetcode.com/problems/find-missing-and-repeated-values/description/
Missing and repeated in 1..n array #medium #math
Missing and repeated in 1..n array #medium #math
🔥1
Min diff primes pair in left..right #medium #math
https://leetcode.com/problems/closest-prime-numbers-in-range/
https://leetcode.com/problems/closest-prime-numbers-in-range/
👍3
Min sum of differences of x times #medium #math #quickselect
https://leetcode.com/problems/minimum-operations-to-make-a-uni-value-grid/description/
https://leetcode.com/problems/minimum-operations-to-make-a-uni-value-grid/description/
👍2
Sum of all subsets xors #easy #bit #math
https://leetcode.com/problems/sum-of-all-subset-xor-totals/description
https://leetcode.com/problems/sum-of-all-subset-xor-totals/description
👍3
https://leetcode.com/problems/count-the-number-of-powerful-integers/description/
Numbers in range start..finish, digits up to limit #hard #dp #math
Numbers in range start..finish, digits up to limit #hard #dp #math
👍3
Count palindromes of length n, divisible by k #hard #math #permutations
https://leetcode.com/problems/find-the-count-of-good-integers/description/
https://leetcode.com/problems/find-the-count-of-good-integers/description/
👍2🔥1
https://leetcode.com/problems/count-good-numbers/description/
Count
Count
(0,2,4,6,8)(2,3,5,7)
generated strings of length n #medium #math👍2
https://leetcode.com/problems/count-the-number-of-good-subarrays/description/
Subarrays with at least k equal pairs #medium #sliding_window #math
Subarrays with at least k equal pairs #medium #sliding_window #math
👍1
https://leetcode.com/problems/rabbits-in-forest/description
Count total rabbits from other numbers #medium #math #brainteaser
Count total rabbits from other numbers #medium #math #brainteaser
👍3
Permutations of even-odd position sums equal #hard #dp #math
https://leetcode.com/problems/count-number-of-balanced-permutations/description/
https://leetcode.com/problems/count-number-of-balanced-permutations/description/
👍2
t
steps to convert char into next nums[c] chars #hard #dp #mathhttps://leetcode.com/problems/total-characters-in-string-after-transformations-ii/description
👍2
https://leetcode.com/problems/divisible-and-non-divisible-sums-difference/description/
Sum non-divisible minus sum divisible #easy #math
Sum non-divisible minus sum divisible #easy #math
👍2
https://leetcode.com/problems/distribute-candies-among-children-ii/description/
Ways to give
Ways to give
limited
from n
candies to 3 kids #medium #math #combinations👍1
# 17.06.2025
[3405. Count the Number of Arrays with K Matching Adjacent Elements](https://leetcode.com/problems/count-the-number-of-arrays-with-k-matching-adjacent-elements/description/) hard
Combinations k equal siblings 1..m in [n] array #hard #combinatorics #math
[3405. Count the Number of Arrays with K Matching Adjacent Elements](https://leetcode.com/problems/count-the-number-of-arrays-with-k-matching-adjacent-elements/description/) hard
Combinations k equal siblings 1..m in [n] array #hard #combinatorics #math
👍2
# 23.06.2025
[2081. Sum of k-Mirror Numbers](https://leetcode.com/problems/sum-of-k-mirror-numbers/description) hard
n palindromes in both 10 and k-base #hard #math
[2081. Sum of k-Mirror Numbers](https://leetcode.com/problems/sum-of-k-mirror-numbers/description) hard
n palindromes in both 10 and k-base #hard #math
👍2