原创 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

原创 Leetcode37-Sudoku Solver

Problem  Write a program to solve a Sudoku puzzle by filling the empty cells. Empty cells are indic