flatten the array, given a large file find out topK elements. Write code for these problems.
Anonymous
I answered correctly with best time complexity. 1: Using recursion. It was pretty easy 2; Using min heap
Check out your Company Bowl for anonymous work chats.