Walmart Interview Question

How will you convert a heap into a doubly linked list?