apps/sudoku-solver/controllers/sudoku-solver.js
// in the specified row matches the given number.
in the specified row matches the given number.
in the specified row matches the given number .
usedInRow(grid, row, num) {
    for (let col = 0; col < WIDTH; col++) {
      if (grid[row][col] === num) {
        return true;
      }
    }
    return false;
  }
usedInRow ( grid , row , num ) { for ( let col = 0 ; col < WIDTH ; col ++ ) { if ( grid [ row ] [ col ] === num ) { return true ; } } return false ; }
in the specified row matches the given number.
in the specified row matches the given number .