Frage im Vorstellungsgespräch bei Bank of America

Questions on string manipulation, oops and puzzles