![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Leetcode
文章平均质量分 78
GatorCoder
这个作者很懒,什么都没留下…
展开
-
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 · 148 阅读 · 0 评论 -
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 · 81 阅读 · 0 评论