Answers

Question and Answer:

  Home  Programming Algorithms

⟩ What is the general algorithm model for any recursive procedure?

Prologue: -Saves the parameters, local variables and returns addresses.

Body: -If the best criterion has been reached: then perform the final computation and go to step3, otherwise, perform the partial computation and go to step1.

Restore the most recently saved parameters, local variables and return address. Go to this return addresses.

 131 views

More Questions for you: