A bit of ✨#recursion✨ in #JavaScript
@chad_code Next you can try to do memoization as this code will timeout after n=25