https://leetcode.com/problems/maximize-the-number-of-target-nodes-after-connecting-trees-i/description/
Max k-reacheable nodes of merged trees #medium #dfs
Max k-reacheable nodes of merged trees #medium #dfs
👍2
https://leetcode.com/problems/find-closest-node-to-given-two-nodes/description
Closest common node #medium #bfs
Closest common node #medium #bfs
👍3
https://leetcode.com/problems/snakes-and-ladders/description/
Shortest path bottom-top in zig-zag matrix with jumps #medium #bfs
Shortest path bottom-top in zig-zag matrix with jumps #medium #bfs
👍1🔥1
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
https://leetcode.com/problems/find-the-lexicographically-largest-string-from-the-box-i/description
Max string of every split by n #medium
Max string of every split by n #medium
👍2
https://leetcode.com/problems/lexicographically-smallest-equivalent-string/description/
Map by smallest in group from associate s1 with s2 #medium
Map by smallest in group from associate s1 with s2 #medium
👍2
https://leetcode.com/problems/using-a-robot-to-print-the-lexicographically-smallest-string/description/
Smallest string by writing to stack #medium #string
Smallest string by writing to stack #medium #string
👍2
https://leetcode.com/problems/lexicographically-minimum-string-after-removing-stars/description
Smallest string by remove min to the left of * #medium
Smallest string by remove min to the left of * #medium
👍2
# 08.06.2025
[386. Lexicographical Numbers](https://leetcode.com/problems/lexicographical-numbers/description/) medium
Generate lexicographical numbers 1..n #medium
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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