Thoughtworks interview question

Problem Solving Statement - Tic Tac Toe game. (Complete from UI till the logic involving the design pattern)