Solving the N-Queens Problem With Ruby
N-Queens is an interesting coding challenge where you have to place N queens on a N * N board. It looks like this: A queen can move in all directions: Vertical Horizontal Diagonal The solution (there can be many) must place all the queens on the board & every queen must be out of reach … Read more