Pregunta de entrevista de Microsoft

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