Oracle interview question

k th element in an array using heap