Kth largest element in an array, I am stuck with base case. I guess my logic to find the pivot is correct considering lastElement is best choice, can anyone help me on this its