Pregunta de entrevista de WalkMe

writing an algorithm that returns the minimal subarray.