Answer:
There are lots of places where recursive algorithm fits e.g. algorithm related to binary and linked list. Couple of examples of recursive algorithm is reversing String and calculating Fibonacci series. Other examples include reversing linked list, tree traversal, and quick sort algorithm.
Previous Question | Next Question |
Explain Open closed design principle? | Can you please explain the difference between binary tree and a binary search tree? |