Algorithm design and code skill check. solve a problem with O(n log n) optimal solution.
Anonymous
there are multiple techniques to achieve this, but interviewer is not interested if you diverted or added your own thoughts
Check out your Company Bowl for anonymous work chats.