Computer Science, asked by pandhyanehaa, 1 year ago

which of the following data structures would you use to efficiently find the kth largest number in a given list of n numbers?

Answers

Answered by WrathRaiser
0
heap, pop k elements by school standards but in reality, an inserting all vals into an array and quicksorting them is much faster than any data structure. once sorted just access the kth element
Answered by topper66
0
heap, pop k elements by school standards
Similar questions