Skip to content

Commit 33a6377

Browse files
authored
Update readme.md
1 parent 4691d2f commit 33a6377

File tree

1 file changed

+3
-3
lines changed
  • src/main/kotlin/g1201_1300/s1275_find_winner_on_a_tic_tac_toe_game

1 file changed

+3
-3
lines changed

src/main/kotlin/g1201_1300/s1275_find_winner_on_a_tic_tac_toe_game/readme.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class Solution {
7878
private fun wins(board: Array<Array<String?>>): String {
7979
for (i in 0..2) {
8080
if (board[i][0] == null) {
81-
break
81+
continue
8282
}
8383
val str = board[i][0]
8484
if (str == board[i][1] && str == board[i][2]) {
@@ -87,7 +87,7 @@ class Solution {
8787
}
8888
for (j in 0..2) {
8989
if (board[0][j] == null) {
90-
break
90+
continue
9191
}
9292
val str = board[0][j]
9393
if (str == board[1][j] && str == board[2][j]) {
@@ -111,4 +111,4 @@ class Solution {
111111
}
112112
}
113113
}
114-
```
114+
```

0 commit comments

Comments
 (0)