Yahoo interview question

Design OO solution for chess game, hadoop,