MCPcopy Create free account
hub / github.com/neetcode-gh/leetcode / initBoard

Function initBoard

javascript/0036-valid-sudoku.js:68–69  ·  view source on GitHub ↗
(rows, cols)

Source from the content-addressed store, hash-verified

66};
67
68var initBoard = (rows, cols) =>
69 new Array(rows).fill().map(() => new Array(cols).fill(false));
70
71var getBoards = (boards) => {
72 const [rows, cols] = [9, 9];

Callers 1

getBoardsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected