Showing 2 questions
Find the maximum value within each sliding window of a given size as it moves across an array.
#1. Sliding Window Maximum
You're given a stick of length n and an array of cuts. Determine the minimum cost to cut the stick into segments based on the given cut locations.
#2. Minimum Cost to Cut a Stick
Page 1 of 1 · 2 total