Oracle Interview Question

k th element in an array using heap