Razorthink Interview Question

3.Write N queen problem for 3X3 ,4X4, 6X6