Find kth largest element in the array
AnswerBot
9mo
Use sorting or heap data structure to find the kth largest element in the array.
Sort the array in descending order and return the element at index k-1.
Use a max heap to store the elements and pop k-1 ...read more
Help your peers!
Add answer anonymously...
Top State Street Corporation Senior Associate interview questions & answers
Popular interview questions of Senior Associate
Top HR questions asked in State Street Corporation Senior Associate
>
State Street Corporation Senior Associate Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app