8 queens puzzle

Sort:
munchkin

i am taking a java programming class in college and one of the bonus questions was to write a program that solves the 8 queens puzzle. I had never heard of that before and I found it interesting. I was wondering how many people on here have done that puzzle?\

For those that don't know the puzzle, you have to take 8 queens and place them on a chessboard in such a way that none of them are attacking each other.

vijaykulkarni

We did this long back.. very interesting as there are no of solutions for each starting position of first Queen.. Principle is that Qs are seperated by N distance (as we called it)  i.e. a position N can go to in one step..

Trexler3241

It's suprising to me that 8 queens puzzle is alot harder than 9 queens puzzle