Give the top ten elements of the given array
Anonymous
I did by using heap and priority queue as its time complexity is nlogk and he asked me can you do it selection sort. I did and asked the difference.
Check out your Company Bowl for anonymous work chats.