←
Top
/
Answer-18A-4
Answer to Question 18A-4
It works, but it is slower than the original version. Because the recursive call is done first, it needs to work its way down to
A
[0] before it looks at any numbers in
A
.