Pergunta de entrevista da empresa Wiley

String traversal problem and basic bit manipulation.