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

Who discovered America? Please help
nosotros no _________________ el número de teléfono de maria
what type of triangle is a 45-45-90 right triangle
Which sentence is in inverted order with the subject underlined? a. a big group was here last night. (group is underlined.) b. a big group was here last night
Octavia has received an email from a customer, asking her a question about a product. unfortunately, octavia doesn't know the answer. however, she has a team me
How many types of morpheme?
which programs or doctrines directly addressed issues of racial inequality
1/3x 1=1/6(2x 3) solve for x
the american colonies were allowed to manufacture their own goods if they chose to.
what happens during the process of transpiration?