ple.. briefly describe the purpose of having a base case and
a recursive case in a recursive algorithm

Answer Posted / baskar

In recursive algorithm.
1. Base case gives the condition for recursive algorithm
when the recursive call is stop.
2.recursive case vice versa.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the best sorting technique?

680


How do I start preparing for placement?

705


What is the difference between 1d and 2d array?

674


Write the procedure to convert general tree to binary tree?

761


Differentiate file structure from storage structure?

681


Explain what is the bucket size, when the overlapping and collision occur at same time?

785


What do you mean by collision in hashing?

718


What is the use of space complexity and time complexity?

730


How would you reverse the characters of an array?

700


Why is data structure important?

713


How dynamic arrays are created?

640


What are sorting algorithms used for?

723


What is a undirected graph?

720


What is the two-dimensional array?

724


how to add an item to the beginning of the list?

740