Write code to determine the win condition of a simple board game.
Anonymous
This started off as a fairly easy question, but after drawing up a solution, the interviewer asked me how I might scale it out to any NxM board size.
Check out your Company Bowl for anonymous work chats.