Divide and Conquer: Majority, Mode and MedianFinding the majority element, mode, and median via sorting and Quickselect in expected linear time.