Hi Guys,
I gave interview at Google sometime back and in telephonic round I was asked the below question:
Among the following sorting algorithms, which one is the most efficient:
It looks like this is an open ended question and I'm confused as some people say quick sort and some say merge sort even though quick sort runs in O(n^2) whereas merge sort runs in O(nlogn).
What should be the ideal answer for this question?
EDIT:
Other Questions: