mcait8189 mcait8189
  • 13-07-2019
  • Computers and Technology
contestada

The operation ____ is used to remove the top element from the stack.

A.
pop

B.
push

C.
peek

Respuesta :

PhantomWisdom PhantomWisdom
  • 18-07-2019

Answer:

pop

Explanation:

stack is a data structure perform the operation in specific order. The order stack follow is last in first out (LIFO).

push function is used to insert the element at the top of the stack.

peek is used to retrieve or fetch the element at the top.

pop is used to remove or delete the top element from the stack.

Therefore, the option A is correct.

Answer Link

Otras preguntas

what is her name what does she sell
find the volume of the composite figure shown ​
What classification is an E7018? will give brainliest
The sum of three consecutive integers is -27 what is the product of the smallest and largest of the three integers?
What social impact did conquistadors have on native populations of the American Southwest and Southeast?
which statement best describes an efect of the filibuste? A It makes it easier for the Senate to pass bils without legity Blit prevents the president from veton
Se tienen cuatro libros de Matemáticas, tres Biología y tres Religión ¿De cuántas maneras diferentes se pueden ordenar todos los libros en línea recta?
how much milk at 1 degrees Celsius is needed to reduce the temperature of 250 mL of coffee at 85 degrees Celsius to 75 degrees Celsius?
can u help me write a research paper on vaccines?
which line is parallel ​