Minimum Changes for Equal Length-k Window Sums
Asked at Amazon · Coding Questions · Difficulty: Medium
Given `prod_price` and integer `k`, change the minimum number of values (to any positive integers) so that every contiguous length-`k` window has the same sum.
Loading the problem…