Question d’entretien chez Anduril

Recursion question that could be found on leetcode