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
Write an algorithm to show the postfix expression with the input given as : a b + c d +*f ? .
Name some applications which use linked lists.
What are the advantages of binary search over linear search?
Write the recursive c function to count the number of nodes present in a binary tree.
What does arraylist remove do?
What is the complexity of arraylist?
State the difference between persistent and ephemeral data structure?
What happens when arraylist is full?
What exactly is a thread?
What is data and its type?
Explain the term run-time stack?
Define hash function?
What is difference between hashmap and map?
Does treemap allow null key?
Which is faster hashmap or concurrenthashmap?