- 博客(2)
- 收藏
- 关注
原创 Leetcode37-Sudoku Solver
Problem Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character '.'.You may assume that there will be only one unique solution.
2018-01-15 13:34:24 71
原创 Leetcode 51 52 N-Queens
We use backtrack to solve these problems. For an N-Queen problem, we use an int array: int[n] to store the position in each row, then, from the first row, place the queen, if it is ok (there are no qu
2018-01-15 13:17:28 141
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人