HashedIn by Deloitte interview question

Solve n-queens problem, sudoku problem