- 0of 0 votes
We can find the minimum of an integer array in n operations. We can find the maximum of an integer array in n operations.- SK January 14, 2015 in United States
How can we find both the min and max of an integer arrays in less than 2n operations?
Hint: Specifically in 3n/2 + c operations
| Report Duplicate | Flag | PURGE
Open Chat in New Window