Salesforce interview question

Given an array of integers, return top K elements from it.

Interview Answer

Anonymous

16 Nov 2014

Use heap