input an unsorted array A of n number and an integer k with 1<= k="">=><=>=>
output an array B of size k that contains the k largest numbers in A with B[1] >= B2....>=[k]
index of the array starts from 1
1. write algorothim pseudocode. analyze the bestcase .k . analyze the worse case of k.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here