1.71K subscribers
711 photos
41 videos
1 file
1.12K links
Don't miss a day to solve the problem
My leetcode graph - https://leetcode.com/SamoylenkoDmitry/
Download Telegram
# 02.11.2025
[2257. Count Unguarded Cells in the Grid](https://leetcode.com/problems/count-unguarded-cells-in-the-grid/description) medium

Count unseen cells by rays from guards #medium #grid
👍1
# 03.11.2025
[1578. Minimum Time to Make Rope Colorful](https://leetcode.com/problems/minimum-time-to-make-rope-colorful/description) medium

Min weighted removals to dedup #medium #greedy
👍1
# 06.11.2025
[3607. Power Grid Maintenance](https://leetcode.com/problems/power-grid-maintenance/description) medium

Smallest in subgraph after turning some nodes off #medium #uf
👍1
# 10.11.2025
[3542. Minimum Operations to Convert All Elements to Zero](https://leetcode.com/problems/minimum-operations-to-convert-all-elements-to-zero/description) medium

Min ops to zeros by making min of subarrays 0 #medium #monotonic_stack
👍1
# 11.11.2025
[474. Ones and Zeroes](https://leetcode.com/problems/ones-and-zeroes/description) medium

Longest subsequence (ones,zeros) at most (m,n) #medium #dp
👍1
# 12.11.2025
[2654. Minimum Number of Operations to Make All Array Elements Equal to 1](https://leetcode.com/problems/minimum-number-of-operations-to-make-all-array-elements-equal-to-1/description) medium

Min steps to make all '1' by gcd #medium
👍1
# 13.11.2025
[3228. Maximum Number of Operations to Move Ones to the End](https://leetcode.com/problems/maximum-number-of-operations-to-move-ones-to-the-end/description/) medium

Max steps to move all ones to the right #medium
👍1
# 14.11.2025
[2536. Increment Submatrices by One](https://leetcode.com/problems/increment-submatrices-by-one/description) medium

Increase matrix by query of rectangles of ones #medium #linesweep
# 15.11.2025
[3234. Count the Number of Substrings With Dominant Ones](https://leetcode.com/problems/count-the-number-of-substrings-with-dominant-ones/description/) medium

Subarray zeros^2 less than ones #medium #sliding_window
👍1
# 16.11.2025
[1513. Number of Substrings With Only 1s](https://leetcode.com/problems/number-of-substrings-with-only-1s/description/) medium

Substrings of ones #medium #counting
👍1
# 21.11.2025
[1930. Unique Length-3 Palindromic Subsequences](https://leetcode.com/problems/unique-length-3-palindromic-subsequences/description/) medium

3-palindroms subsequences #medium
👍1
# 23.10.2025
[1262. Greatest Sum Divisible by Three](https://leetcode.com/problems/greatest-sum-divisible-by-three/description/) medium

Max sum that %3 #medium
👍1
# 25.11.2025
[1015. Smallest Integer Divisible by K](https://leetcode.com/problems/smallest-integer-divisible-by-k/description) medium

Smallest number 11..1 % k #medium
👍2
# 27.11.2025
[3381. Maximum Subarray Sum With Length Divisible by K](https://leetcode.com/problems/maximum-subarray-sum-with-length-divisible-by-k/description/) medium

Max sum of %k-length subarray #medium
👍1
# 30.11.2025
[1590. Make Sum Divisible by P](https://leetcode.com/problems/make-sum-divisible-by-p/description/) medium

Min removal to make sum%p #medium #hashmap
👍1
# 02.12.2025
[3623. Count Number of Trapezoids I](https://leetcode.com/problems/count-number-of-trapezoids-i/description) medium

Trapezoids count #medium
👍1
# 04.12.2025
[2211. Count Collisions on a Road](https://leetcode.com/problems/count-collisions-on-a-road/description/) medium

Collisions R vs L #medium
👍1
# 06.12.2025
[3578. Count Partitions With Max-Min Difference at Most K](https://leetcode.com/problems/count-partitions-with-max-min-difference-at-most-k/description/) medium

Ways to partition into parts (max-min) at most k #medium #dp #monotonic_queue
👍1
# 09.12.2025
[3583. Count Special Triplets](https://leetcode.com/problems/count-special-triplets/description) medium

Count a[i]==a[j]*2==a[k] #medium #prefix_sum
👍1
# 10.12.2025
[3577. Count the Number of Computer Unlocking Permutations](https://leetcode.com/problems/count-the-number-of-computer-unlocking-permutations/) medium

Permutations to unlock all c[j] right and bigger than c[i] #medium #combinatorics
👍1