Pregunta de entrevista de Wiley

String traversal problem and basic bit manipulation.