Pregunta de entrevista de Beijing Enterprises

what's the difference between heap and stack?