Bloomberg interview question

Solve the 8 queens puzzle