FireStorm5103 FireStorm5103
  • 03-07-2021
  • Computers and Technology
contestada

What variable(s) is/are used in stack to keep track the position where a new item to be inserted or an item to be deleted from the stack

Respuesta :

tallinn tallinn
  • 05-07-2021

Answer:

Hence the answer is top and peek.

Explanation:

In a stack, we insert and delete an item from the top of the stack. So we use variables top, peek to stay track of the position.

The insertion operation is understood as push and deletion operation is understood as entering stack.

Hence the answer is top and peek.

Ver imagen tallinn
Answer Link

Otras preguntas

The formula to determine the _____ is based on the _____. A. central limit theorem; standard deviation B. standard deviation; central limit theorem C. standard
5n=120 and 6x=39 plzzz someone help thank uuuu
how do you pronounce lazy in french?
which gods festival was the cause for developing dramatic performances
Which feature signifies to astronomers that a distant star is part of a planetary system? a.) The star periodically dims. b.)The star expands into a red giant.
the sum of 2 3/5 + (-1/5) write in simplest form
What does DNS stand for
MATH QUESTION PLEASE ASAP!!
If the food is good or if I eat too much, I'll exercise. How do you write this compound statement in symbols.
Part a - the cell cycle drag the pink labels onto the pink targets to identify the two main phases of the cell cycle. then drag the blue labels onto the blue ta