Pergunta de entrevista da empresa Roche

Describe how you can make an algorithm that can print all possible sequences with infinite length