Asked in PPSC, FPSC and other one-paper exams (compiled from unofficial resources).
Data Structures & AlgorithmsStacks & Queues
Stack works on:
- A.FILO
- B.FIFO
- C.LILO
- D.LIFOCorrect answer
Timed quizzes, instant results, track your progress — free
Practice these MCQs in the appQuick fact: A stack works on the LIFO (Last In, First Out) principle, meaning the last element inserted is the first one to be removed.