title: All Possible Tic Tac Toe Winning Combinations
body: <p>I had an interview were I was asked a seemingly simple algorithm question:  "Write an algorithm to return me all possible winning combinations for tic tac toe."  I still can't figure out an efficient way to handle this.  Is there a standard algorithm or common that should be applied to similar questions like this that I'm not aware of?</p>