Frage im Vorstellungsgespräch bei ForUsAll

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