Skip to content

Commit ccadd91

Browse files
authored
Update 1284-minimum-number-of-flips-to-convert-binary-matrix-to-zero-matrix.js
1 parent c5007c5 commit ccadd91

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

1284-minimum-number-of-flips-to-convert-binary-matrix-to-zero-matrix.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ const minFlips = function (mat) {
3838
mask.push(bit)
3939
}
4040
}
41-
if (state === 0) {
42-
return 0
43-
}
41+
if (state === 0) return 0
4442
const set = new Set()
4543
const q = [{ state: state, moves: 0 }]
4644
while (q.length !== 0) {

0 commit comments

Comments
 (0)