In that case I would say:
Pros: Easy to follow and read. Although so is an iterative version.
Cons: Could cause stack overflow, iterative method is much better in this case and is probably faster.
Posted 06 February 2012 - 09:51 PM
Posted 06 February 2012 - 09:50 PM