Skip to content

Opening book details…

Can I read Order Statistics: Max, Min, and Selection on EtoBox?

Order Statistics: Max, Min, and Selection by Soe Sandar is a document available to read on EtoBox.

What is Order Statistics: Max, Min, and Selection about?

This lecture discusses algorithms for finding order statistics like the maximum, minimum, and kth smallest element in an unsorted array. It presents two methods for finding the maximum element in O(n) time by repeatedly comparing elements. It also proves this is optimal by showing at least n-1 comparisons are needed. Finding both the maximum and minimum can be done in O(n) time by partitioning pairs of elements. The lecture then describes a selection algorithm that finds the kth smallest element in line

Author
Soe Sandar
Language
EN

More by Soe Sandar

Browse all works by Soe Sandar