Salesforce interview question

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

Interview Answer

Anonymous

Nov 16, 2014

Use heap