Pergunta de entrevista da empresa Microsoft

Combinations of binary digits, modifying strings in a certain manner.