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

Please hurry I’m timed geometry
Who described a better strategy for fighting racial injustice MLK in letter from Birmingham jail or Malcolm X in the ballot or bullet?
hellllppppp me plssss
How could a thermal camera protect a school during a pandemic?
Socialism is based on the belief that A. the means of production should be shared by everyone in society. B. governments should interfere in business only to pr
PLEASE ANSWER FAST Mom has the genotype Aa and so does Dad. What fraction of the offspring will have the same genotype as the parents? O 9/16 O 1/4 O 3/4 O 1/2
What is the minimum value of this Plot I will give brainlyest to the first question
Can anyone please help......
There are 20 flowers in a bouquet, and 2 of them are roses. What percent of the flowers are roses? Please help. don't need any work just the answer is fine.
Write two expressions that are equivalent to the expression -4y - 16 by factoring out a common factor.