Q636
What will be the output if quickselect algorithm is applied to the array arr=1, 5, 4, 3, 7 with k given as 4?
A.
1
B.
3
C.
4
D.
5
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board