sofiachaac764 sofiachaac764
  • 11-09-2020
  • Computers and Technology
contestada

Recursion is a natural use for a _____ (stack or queue)

Respuesta :

ayfat23
ayfat23 ayfat23
  • 11-09-2020

Answer:

Stack

Explanation:

Any function that call itself can be regarded as recursive function, it should be noted that Recursion is a natural use for a stack, especially in the area of book keeping.

Recursion is very important because some of problems are usually recursive in nature such as Graph and others, and when dealing with recursion , only base and recursive case is needed to be defined.

Some areas where recursion is used are in sorting and searching.

Answer Link

Otras preguntas

could you tell me what is a genre?
Which of the following expressions represents 24C12? A) 12!/24! B 24!/24! C) 24!/ 12!•12! D) 24!/12!
Can someone help me??
what is the difference between ions and free electrons?
Factor the following and find the zeros.1. x2 - 169 = 0                2. x2 + 14X + 49 = 03. x2 - 17x + 42 = 0        4. 2X2 - 9X - 5 = 05. 3X2 + 11X - 4 =0
what are the effects of convection currents in our surroundings?
Moon Questions? (diagram attached)1. Approximately how many nights during the month would an observer be able to witness a waxing gibbous phase?2. A full moon o
Suppose you invest $580 at 10% compounded continuously , write an exponential function to model the amount in your investment account ?
let A={0,1,2,3,4,6} and B={2,4,6,8} find a.)AnB             b.)AUB
Which of the following expressions represents 24C12? A) 12!/24! B 24!/24! C) 24!/ 12!•12! D) 24!/12!