https://leetcode.com/problems/shortest-subarray-with-sum-at-least-k/description/
Min subarray with sum at least
Min subarray with sum at least
k
#hard #monotonic_queue #heap👍3
https://leetcode.com/problems/defuse-the-bomb/description/
Next
Next
+-k
window sums #easy #sliding_window👍1
https://leetcode.com/problems/maximum-sum-of-distinct-subarrays-with-length-k/description/
Max
Max
k
-unique window sum #medium #sliding_window👍3
https://leetcode.com/problems/take-k-of-each-character-from-left-and-right/description/
Min take
Min take
k
of a,b,c
from head or tail #medium #two_pointers👍3
https://leetcode.com/problems/count-unguarded-cells-in-the-grid/description/
Count unseen cells in 2D matrix with guards and walls #medium #matrix
Count unseen cells in 2D matrix with guards and walls #medium #matrix
👍3
https://leetcode.com/problems/flip-columns-for-maximum-number-of-equal-rows/description/
Max same-bit-rows after flipping columns in 01-2D matrix #medium #matrix
Max same-bit-rows after flipping columns in 01-2D matrix #medium #matrix
👍2
https://leetcode.com/problems/rotating-the-box/description/
Rotate matrix and simulate the fall #medium #matrix
Rotate matrix and simulate the fall #medium #matrix
👍3
https://leetcode.com/problems/maximum-matrix-sum/description/
Max sum of 2D matrix after multiply by -1 adjacent cells #medium
Max sum of 2D matrix after multiply by -1 adjacent cells #medium
👍2
https://leetcode.com/problems/shortest-distance-after-road-addition-queries-i/description/
Query shortest paths after adding new edges #medium #bfs
Query shortest paths after adding new edges #medium #bfs
👍2
https://leetcode.com/problems/minimum-obstacle-removal-to-reach-corner/description/
Min removals to travel first-last in 2D grid #hard #bfs #dijkstra
Min removals to travel first-last in 2D grid #hard #bfs #dijkstra
👍2
https://leetcode.com/problems/minimum-time-to-visit-a-cell-in-a-grid/description/
Min time start-end 4-d travel in 2D matrix with waiting #hard #dijkstra
Min time start-end 4-d travel in 2D matrix with waiting #hard #dijkstra
👍2
https://leetcode.com/problems/valid-arrangement-of-pairs/description/
Hierholzer's algorithm #hard #graph
Hierholzer's algorithm #hard #graph
👍2
https://leetcode.com/problems/check-if-n-and-its-double-exist/description/
Any
Any
i != j && a[i] = 2 * a[j]
#easy👍3
https://leetcode.com/problems/adding-spaces-to-a-string/description/
Insert spaces into string #medium
Insert spaces into string #medium
👍3
https://leetcode.com/problems/make-string-a-subsequence-using-cyclic-increments/description/
Increase some chars once to make a subsequence #medium
Increase some chars once to make a subsequence #medium
👍3
https://leetcode.com/problems/move-pieces-to-obtain-a-string/description/
Move
Move
L
left and R
right to match strings #medium👍2