Simple Recursion [Answered]
How can I make a recursive method return false when one or more of the iterations have returned false but the top recursion has returned true?
Example with code:
2 Replies
RADAR -> True (correct)
XADAR -> False (correct)
RXDAR -> True (incorrect because the first recursion returns true but the next ones return false)
Which value is returned to the root method in the WriteLine? The bottommost or the topmost
Thank you
✅ This post has been marked as answered!