0

recursion

the things which are done by recursion can also be done using map and filter,then what so special about this recursion??

18th Oct 2016, 5:16 AM
Niveditha Sandireddy
1 Answer
+ 5
1. It reduces time complexity of program. 2. For some problems it makes the algorithm a little easier. 3. It is an optimized way of implementing a number of nested loops. 4. Easier to debug.
18th Oct 2016, 7:51 AM
Remmae
Remmae - avatar