I changed my code so it works with recursion. On a success it should return j+1 when called.
Posted in: Code, Uncategorized
That’s clever. I don’t think I’ve ever seen a recursive solution to this.
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
Captcha loading...In order to pass the CAPTCHA please enable JavaScript.
That’s clever. I don’t think I’ve ever seen a recursive solution to this.