This week we mainly discussed the concept of the recursion. In my opinion, recursion is a strategy to deal with a problem set, which includes self-similar problems.

A good way to learn about the idea of the recursion is to trace the function and to figure out how the recursive function works on different depth.
For the number "17", it has depth 0 and doesn't meet the if condition. Therefore, it is a basic case without any recursion, so we get 17.
For "[1, 2, 3]", it has depth 1 and meets the if condition. Therefore, we apply the recursive function on each item in the list, and finally get 6.
For "[1, [2, 3, [4]], 5], it has depth 3. By applying the recursive function three times, we finally get 15.





