We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4691d2f commit 33a6377Copy full SHA for 33a6377
src/main/kotlin/g1201_1300/s1275_find_winner_on_a_tic_tac_toe_game/readme.md
@@ -78,7 +78,7 @@ class Solution {
78
private fun wins(board: Array<Array<String?>>): String {
79
for (i in 0..2) {
80
if (board[i][0] == null) {
81
- break
+ continue
82
}
83
val str = board[i][0]
84
if (str == board[i][1] && str == board[i][2]) {
@@ -87,7 +87,7 @@ class Solution {
87
88
for (j in 0..2) {
89
if (board[0][j] == null) {
90
91
92
val str = board[0][j]
93
if (str == board[1][j] && str == board[2][j]) {
@@ -111,4 +111,4 @@ class Solution {
111
112
113
114
-```
+```
0 commit comments