Mobiuso Interview Question

Why is stack FIFO not LIFO

Interview Answer

Anonymous

Jan 19, 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.