Mandoe Media interview question

difference of stack and heap.