Pregunta de entrevista de M2M Services

Recursion with backtrack on different structures