Pergunta de entrevista da empresa FIS

What is recursive logic? Give me an example on it.