ASML Interview Question

Explain heap vs stack memory