8Queens The 8 Queens Problem This is a fancy solution of the problem by Genetic Algorithm in Matlab. The below image illustrates one of the possible outputs.