Amazon Interview Question

Get top k elements in a stream