Time to solve:

Time to paint:

N Queens Problem does not have a solution for N=2, or N=3.

For allSolutionsUtil usage: n <= 8

Time to solve:

Time to paint:

N Queens Problem does not have a solution for N=2, or N=3.

For allSolutionsUtil usage: n <= 8