Find shortest subarray with range ≥ k | Meta Interview Question