Tag Archives: AI

N Queens : all possible solutions in q/kdb+

I have written the code to generate all possible solutions for the N Queens problem. I have used backtracking approach, which allows me to generate all the solutions. Whenever, a solution is found I print it and then backtrack to … Continue reading

Posted in KDB, Q | Tagged , | Leave a comment