Bloomberg interview question

Implement a heap with functionality to efficiently modify/move elements.