Pergunta de entrevista da empresa Bank of America

Questions on string manipulation, oops and puzzles