1.57K subscribers
596 photos
1 file
968 links
Don't miss a day to solve the problem
My leetcode graph - https://leetcode.com/SamoylenkoDmitry/
Download Telegram
https://leetcode.com/problems/snakes-and-ladders/description/


Shortest path bottom-top in zig-zag matrix with jumps #medium #bfs
👍1🔥1
👍2
# 08.06.2025
[386. Lexicographical Numbers](https://leetcode.com/problems/lexicographical-numbers/description/) medium


Generate lexicographical numbers 1..n #medium
👍1
# 13.06.2025
[2616. Minimize the Maximum Difference of Pairs](https://leetcode.com/problems/minimize-the-maximum-difference-of-pairs/description/) medium


Min max diffs non-overlapped pairs #medium #binary_search
👍3
# 15.06.2025
[1432. Max Difference You Can Get From Changing an Integer](https://leetcode.com/problems/max-difference-you-can-get-from-changing-an-integer/description/) medium

Max - min, replacing any digit, no leading zeros #medium
👍2
# 18.06.2025
[2966. Divide Array Into Arrays With Max Difference](https://leetcode.com/problems/divide-array-into-arrays-with-max-difference/description/) medium


List of k-narrow tripplets #medium
👍2
# 19.06.2025
[2294. Partition Array Such That Maximum Difference Is K](https://leetcode.com/problems/partition-array-such-that-maximum-difference-is-k/description) medium


k-narrow subsequences #medium #sort
👍2
# 20.06.2025
[3443. Maximum Manhattan Distance After K Changes](https://leetcode.com/problems/maximum-manhattan-distance-after-k-changes/description) medium


Max distance after k flips #medium
👍2
# 21.06.2025
[3085. Minimum Deletions to Make String K-Special](https://leetcode.com/problems/minimum-deletions-to-make-string-k-special/description/) medium


Min remove to make frequencies k-narrow #medium
👍2
# 26.06.2025
[2311. Longest Binary Subsequence Less Than or Equal to K](https://leetcode.com/problems/longest-binary-subsequence-less-than-or-equal-to-k/description) medium


Longest binary subsequence less than K #medium
👍2
# 29.06.2025
[1498. Number of Subsequences That Satisfy the Given Sum Condition](https://leetcode.com/problems/number-of-subsequences-that-satisfy-the-given-sum-condition/description/) medium


Subsequencies target in 0..min+max #medium #binary_search #two_pointers
👍2
# 6.07.2025
[1865. Finding Pairs With a Certain Sum](https://leetcode.com/problems/finding-pairs-with-a-certain-sum/description/) medium


Design pairs counter; two lists, one changes #medium #hashmap
👍1
# 7.07.2025
[1353. Maximum Number of Events That Can Be Attended](https://leetcode.com/problems/maximum-number-of-events-that-can-be-attended/description/) medium


Max attended events #medium #heap
👍1
# 9.07.2025
[3439. Reschedule Meetings for Maximum Free Time I](https://leetcode.com/problems/reschedule-meetings-for-maximum-free-time-i/description) medium


Max free time after moving k events together #medium #sliding_window
👍1