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
Why merge sort is better than insertion sort?
Which interface provides the capability to store objects using a key-value pair?
How do hash tables work?
Given an unsorted linked list, and without using a temporary buffer, write a method that will delete any duplicates from the linked list?
What are the advantages of data structure?
Explain the difference between a list and array.
Does stringutils isempty check for null?
Is collection a class or interface?
What are the 3 control structures in programming?
Difference between calloc and malloc ?
How many passes are required in bubble sort?
What is difference between hashmap and hashtable?
Which is the parent class of deque
What is nonlinear data?
What is the default capacity of hashmap?