摘要:
今天来贡献一个代码,用js写的解数独程序suduku_solve = function() { console.time("sudoku_solve"); // build structure var cells = Array(81), rows = Array(9), cols = Array(9), grids = Array(9); for ( var i = 0; i < 9; i++) { rows[i] = []; cols[i] = []; grids[i] = []; } for ( var row... 阅读全文