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

What does audacity means
what division problem equals 24
the median of 10,31,36,36,38,42,47,48,49,52
wha is the answer for 6w-y=2z for w
What's the difference between simile and metaphor?
Clusters of concentrated development on the perimeter highways of an urban area are called _____.
How to measure Population Density?
What is the value of x? 4x - 9 = 27
“Power tends to corrupt; absolute power corrupts absolutely.” --Lord Acton, British historian Based on this quotation, why type of government would Lord Acto
which is the better buy 1 liter of soda for $1 or 1 gallon of soda for $4