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

In public speaking, sound ethical decisions involve weighing a potential course of action against the persuasive goals of the speaker. an interpretation of the
Find X please help!!!!!!
Which of the following is an OPINION about the Star-Spangled Banner
THE HALF OF 38 HOW MANY IS IT
A man spent two third of his monthly wages on his car and one quarter on food. If he spent N5500 altogether, how much does he earn in a month? ​
(X+9)^2*(x-9)(2x-7)=0
Find the value of x:
what's 200 subtracted from 33
Evaluate the following | -8 | = |15| =
two primary input computer devices​