Source: wikibot/mutual-recursion

= Mutual recursion
{wiki=Mutual_recursion}

Mutual recursion is a programming concept where two or more functions call each other in a circular manner to solve a problem. Unlike traditional recursion, where a function calls itself, mutual recursion involves multiple functions working together to break down a problem into smaller subproblems. In mutual recursion, one function may call another function that eventually calls back to the original function, creating a circular calling pattern.