Bloomberg interview question

How to build a heap using stack?