Implement a program to sort an array of integers using the quicksort algorithm.
HardProblem Statement
Implement a program to sort an array of integers using the quicksort algorithm.
Sample Input
int arr[] = {5, 3, 8, 6, 2};Sample Output
Sorted array: 2 3 5 6 8
Limits
Time: 2s · Memory: 256 MB