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 royal scientist used the 29th day of frozen vapor to encounter elements for mastering new culinary creations?
What is the distance between (5 - 2i) and (8 + i)?
Which of the following contributed to the grown and success of the Roman Empire
Need help asap please!
PLEASEE HELPPPPPPPP!!!!!!!!!!!!!!!!!!!!!!!!
Based on the topographic map of Mt. St. Helens, what is the contour interval of the Volcano about height is 2,950 m?
write 37/22 as a decimal rounded to the nearest hundredth.
A meteorologist is studying the monthly rainfall in a section of the Brazilian rainforest. She recorded the monthly rainfall, in inches, for last year. They wer
The Antifederalists supported the Constitution and felt that the U.S. needed a strong central government. True False
Corresponding angles are a. always b. sometimes c. never congruent