Skip to content

Commit 965c4b2

Browse files
authored
Update 1275 Find Winner on a Tic Tac Toe Game (#76)
Tic Tac Toe solution used `break` inside a loop when the first cell of the column or row was empty. I believe this will result in it skipping all other rows/columns when it reaches a null cell. Instead of using `break` I think it should be `continue` instead. Tested locally and `continue` works for 3 vertical in the last column, where `break` fails to find the winner.
1 parent 33a6377 commit 965c4b2

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)