摘要:
链接:https://leetcode-cn.com/problems/count-and-say/ 代码 class Solution { public: string countAndSay(int n) { string ans = "1"; for (int i = 0; i < n - 1 阅读全文
摘要:
链接:https://leetcode-cn.com/problems/sudoku-solver/ 代码 class Solution { public: bool row[9][9], col[9][9], cell[3][3][9]; void solveSudoku(vector<vecto 阅读全文