Bloomberg Interview Question

String manipulation and game-based questions.