0 0 votes Prove the lower bound of $\lceil 3n/2\rceil – 2$ comparisons in the worst case to find both the maximum and minimum of $n$ numbers. (Hint: Consider how many numbers are potentially either the maximum or minimum and investigate how a comparison affects these counts.) Algorithms cormen algorithms descriptive + – akash.dinkar12 1.9k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
0 0 votes this might help. Asim Siddiqui 4 answered Jul 16, 2019 Asim Siddiqui 4 comment Share Follow 0 reply Please log in or register to add a comment.