Question
A _______ operation may give access to the top without
modifying the stack.Solution
In computer science, a stack is an abstract data type that serves as a collection of elements, with two principal operations: push, which adds an element to the collection, and pop, which removes the most recently added element that was not yet removed. The order in which elements come off a stack gives rise to its alternative name, LIFO (for last in, first out). Additionally, a peek operation may give access to the top without modifying the stack.
Who inaugurated the Bharat Bodh Kendra at India Habitat Centre in 2025?
What scientific device did the 2025 Physics Nobel laureates use to demonstrate macroscopic quantum tunnelling?
Which type of fuel is used in the initial phase of operation for India’s Prototype Fast Breeder Reactor (PFBR) at Kalpakkam?
What was the amount of debt commitments in India’s outward FDI in May 2025?
During the Vice President's visit to Sri Lanka, which international alliance did Sri Lanka agree to join?
Which country officially joined BRICS as a partner state along with other nations like Egypt, Ethiopia, Indonesia, and UAE?
LEO1, an edu-fintech startup has introduced prepaid ID cards for students and educational institutions that is supported by MasterCard which is devoid o...
SEBI simplified regulations for which two roles to encourage registration?
What is the theme of World Consumer Rights Day 2026?
On 10 May 2026, PM Narendra Modi inaugurated India’s first functional PM MITRA Park in which location?