Scientific Games interview question

N queen algorithm Chess board puzzle