Open neetu1123 opened 1 year ago
If at any instance, there are no more subarrays of size greater than or equal to K, then reverse the last subarray (irrespective of its size).
If at any instance, there are no more subarrays of size greater than or equal to K, then reverse the last subarray (irrespective of its size).