Domanda di colloquio di Bloomberg

What is the difference between a stack and heap?