Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
| const checkSudoku = board => { | |
| const isSudokuArrayValid = (array) => { | |
| const row = array.slice(0).sort().join(''), | |
| passingRow = [1,2,3,4,5,6,7,8,9].join(''); | |
| return (row === passingRow); | |
| }; | |
| const testRows = (board) => board.every(row => isSudokuArrayValid(row)); |
In the below keyboard shortcuts, I use the capital letters for reading clarity but this does not imply shift, if shift is needed, I will say shift. So ⌘ + D does not mean hold shift. ⌘ + Shift + D does of course.
| Function | Shortcut |
|---|---|
| New Tab | ⌘ + T |
| Close Tab or Window | ⌘ + W (same as many mac apps) |
| Go to Tab | ⌘ + Number Key (ie: ⌘2 is 2nd tab) |
| Go to Split Pane by Direction | ⌘ + Option + Arrow Key |