function movingCount(threshold, rows, cols) { // write code here let count = 0 let arr = new Array(rows).fill().map(()=>new Array(cols).fill(false)) function dfs(row,col){ //终止条件 if(row >= rows || col >= cols || sumOfDigits(col,row) > threshold || arr[row]...