Sudoku Problem
Given a completed 4x4, 9x9, 16x16 or any n^2 x n^2 (where n is a positive integer) grid of Sudoku, validate that the answer is correct.
Definition of correct is all of:
1. There should be no same integer in the same row. Integers in the row must start from 1 and be consecutive, order in any fashion.
2. There should be no same integer in the same column. Integers in the column must start from 1 and be consecutive, order in any fashion.
3. Divide the grid in the smaller grid with the size of square root of the original size (n x n), there must be no same integer. Integers in the small grids must start from 1 and be consecutive, order in any fashion.
Extra credit if the program can do the following: given an incomplete 4x4, 9x9, or 16x16 grid of Sudoku, solve the problem to get the correct answer or report that there is no correct answer for the grid