Pergunta de entrevista da empresa Capgemini

What is a stack and how does it work?