1.64K subscribers
631 photos
10 videos
1 file
1.01K links
Don't miss a day to solve the problem
My leetcode graph - https://leetcode.com/SamoylenkoDmitry/
Download Telegram
# 16.07.2025
[3201. Find the Maximum Length of Valid Subsequence I](https://leetcode.com/problems/find-the-maximum-length-of-valid-subsequence-i/description/) medium


Longest same-pair-parity subsequence #medium #greedy
👍2
# 17.07.2025
[3202. Find the Maximum Length of Valid Subsequence II](https://leetcode.com/problems/find-the-maximum-length-of-valid-subsequence-ii/description) medium


Longest same-pair-k-parity subsequence #medium #dp
👍2
# 19.07.2025
[1233. Remove Sub-Folders from the Filesystem](https://leetcode.com/problems/remove-sub-folders-from-the-filesystem/description) hard


Fold folders #medium
👍2
# 22.07.2025
[1695. Maximum Erasure Value](https://leetcode.com/problems/maximum-erasure-value/description/) medium


Max unique subarray sum #medium #sliding_window
👍1
# 23.07.2025
[1717. Maximum Score From Removing Substrings](https://leetcode.com/problems/maximum-score-from-removing-substrings/description/) medium


Max removals ab=x, ba=y #medium #stack
👍1
# 28.07.2025
[2044. Count Number of Maximum Bitwise-OR Subsets](https://leetcode.com/problems/count-number-of-maximum-bitwise-or-subsets/description/) medium


Subsequencies with max OR #medium #bits #backtrack
👍2
# 29.07.2025
[2411. Smallest Subarrays With Maximum Bitwise OR](https://leetcode.com/problems/smallest-subarrays-with-maximum-bitwise-or/description/) medium


Shortest max OR i.. subarrays #medium #two_pointers
👍1
# 30.07.2025
[2419. Longest Subarray With Maximum Bitwise AND](https://leetcode.com/problems/longest-subarray-with-maximum-bitwise-and/description/) medium


Longest max OR subarray #medium #counting
👍1
# 31.07.2025
[898. Bitwise ORs of Subarrays](https://leetcode.com/problems/bitwise-ors-of-subarrays/description) medium


Uniq OR-subarrays #medium #dp #bits
👍2
# 4.08.2025
[904. Fruit Into Baskets](https://leetcode.com/problems/fruit-into-baskets/description/) medium

Max consequent two-types range #medium #counting
👍1
# 6.08.2025
[3479. Fruits Into Baskets III](https://leetcode.com/problems/fruits-into-baskets-iii/description) medium

Place fruits left to right to first available bucket #medium #segment_tree
👍1🔥1
# 8.08.2025
[808. Soup Servings](https://leetcode.com/problems/soup-servings/description/) medium


Probability A empty first plus both empty /2 #medium #dp #probability
👍1
This media is not supported in your browser
VIEW IN TELEGRAM
# 10.08.2025
[869. Reordered Power of 2](https://leetcode.com/problems/reordered-power-of-2/description/) medium


Rearrange digits to make power of two #medium #dfs #bits
👍1
This media is not supported in your browser
VIEW IN TELEGRAM
# 11.08.2025
[2438. Range Product Queries of Powers](https://leetcode.com/problems/range-product-queries-of-powers/description) medium


Range product queries of powers of two from n #medium
👍1
This media is not supported in your browser
VIEW IN TELEGRAM
# 12.08.2025
[2787. Ways to Express an Integer as Sum of Powers](https://leetcode.com/problems/ways-to-express-an-integer-as-sum-of-powers/description/) medium

Ways to make n by sum of a^x+b^x+... #medium #dp
👍1
# 17.08.2025
[837. New 21 Game](https://leetcode.com/problems/new-21-game/description) medium

Probability sum of random(1..m) less than n when stop adding at k #medium #math #probability
👍1
# 19.08.2025
[2348. Number of Zero-Filled Subarrays](https://leetcode.com/problems/number-of-zero-filled-subarrays/description) medium


Count 0-subarrays #medium #counting
👍1
This media is not supported in your browser
VIEW IN TELEGRAM
# 20.08.2025
[1277. Count Square Submatrices with All Ones](https://leetcode.com/problems/count-square-submatrices-with-all-ones/description/) medium


Count square islands of 1 #medium #dp
👍1
This media is not supported in your browser
VIEW IN TELEGRAM
# 22.08.2025
[3195. Find the Minimum Area to Cover All Ones I](https://leetcode.com/problems/find-the-minimum-area-to-cover-all-ones-i/description/) medium


Min all-1 rectangle #medium
👍1