Pregunta de entrevista de ForUsAll

Questions about arrays selecting subarray so that the remaining array is sorted.