Pergunta de entrevista da empresa Mobiuso

Why is stack FIFO not LIFO

Resposta da entrevista

Sigiloso

19 de jan. de 2021

I think stack is LIFO and not FIFO as per the question why, thats how it is, its a data structure which is used to solve n number of problems. Like any programming language runs with LIFO on stack memory concept of calling functions.