ForUsAll Interview Question

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