TIAA Interview Question

How will you find the minimum of an unsorted array in logn time?

Interview Answer

Anonymous

Sep 9, 2020

I said it's not possible so he told me that u can apply sorting in logn and the access the last element in O(1) time.