Amazon | OA1 | New Grad | Minimum subarrays
Anonymous User
854

I got a long question whose gist was...

From a given array of integers, find minimum number of subarrays such that the difference between any two elements in the subarray is less than or equal to k (integer).

How to solve this problem?

Comments (3)