Question.5
A developer uses recursive quicksort to sort 100 sensor samples in a data-processing task on an ARM Cortex-M0 with 2 KB stack:
void quicksort(int arr[], int low, int high) {
if (low < high) {
int pivot = partition(arr, low, high);
quicksort(arr, low, pivot - 1);
quicksort(arr, pivot + 1, high);
}
}Is this safe for the target platform?