Solve question 11

I came up with this solution by removing one line from the solution to Q42.

In the future, it might be helpful to include the recursive solution proposed in the YouTube video.