Recursion is Amazing

Many computational problems are better solved using a recursive algorithm. Even though recursion can have a higher space complexity than a similar procedural version, it can be significantly easier to understand and read the code.

Take for example searching a...

Read More