IBM interview question

Fizz buzz, string parsing, and Tic-Tac-toe