3.b) Find the K th Largest element in the array. Problem link :- ą²øą²æą²ą³ą²ą²æą²¦ą²°ą³ ą²ą²³ą³ą²¹ą²æą²øą²æ //kth largest element #include<stdio.h> void swap(int *a, int *b) { int temp; temp = *a; *a = *b; *b = temp; } int partition(int A[], int start, int end) { int pivot, i, j; pivot = A[end]; i = start - 1; j = start; for(j=start; j<end; j++) { if(A[j] < pivot) { i++; swap(&A[i], &A[j]); } } i++; swap(&A[i], &A[end]); return i; } int kth_largest(int A[], int start, int end, int k) { int pos, length; if(start < end) { pos = partition(A, start, end); length = pos + 1; if(k == length) return A[pos]; if(k < length) return kth_largest(A, start, pos-1, k); else return kth_largest(A, pos+1, end, k); } } void main() { int arr1[30]; int n, i; int k, ans, corrk; printf("Enter the si...