Given an array of integers and a chunk size k, divide the array into contiguous subarrays of size k, sort each subarray individually, and merge them back together to form the final array.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.