Science, asked by eaku5277, 1 year ago

Find smallest and largest element in an array in constant time complexity.

Answers

Answered by rockyak4745
0
Use order statistic algorithm to find the kth largest element. Please see the topic selection in worst-case linear time O(n)
Similar questions