NAKAD Interview Question

Q1 Find Top-k elements in an array.