I`m kind of confused with this Recursion topic, I understand the concept, I have seen videos about it, but what confuse me really is the “multiply(arr, n) == multiply(arr, n - 1) * arr[n - 1]” that we are told in the explanation, which show that I still lack some basics understanding, because I dont know there what “multiply(arr, n - 1)” means, or how it would interact itself and why it would equall multiply(arr,n) when multiplied by arr[n - 1].
I think that if I understood that, the Recursion would be way easier to me. (The “arr[n - 1]” I get completely and the -1 purpose)
Thank you so much!
Challenge: Replace Loops using Recursion
Link to the challenge: