The N Queens Problems using Backtrack