Pergunta de entrevista da empresa Apple

What is a stack?

Resposta da entrevista

Sigiloso

17 de set. de 2020

A stack follows the procedure of "First in, Last out". To create a stack, elements are pushed into a container and to get the values of the stack, pop the stack and the values at the top of the stack will pop out.