2D Sudoku

2D Sudoku is a Sudoku-like logic puzzle. There are no blocks in the puzzle grid, only rows, columns, and, optionally, diagonals.

2D Sudoku

Rules: Enter a number between 1 and N in each cell of the NxN grid. Every number in a row and column must appear exactly once.