forked from wisdompeak/LeetCode
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit eb61567
authored
Refactor: Change loop variable type from int to char for clarity
Updated the loop variable in the DFS function from `int k` to `char k` to improve clarity and maintain consistency with the Sudoku board's data type.
This change avoids implicit type conversions and ensures that the code directly represents the intended operations on character data ('1' to '9').1 parent 75207ee commit eb61567
1 file changed
+1
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 | - | ||
14 | + | ||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
|
0 commit comments