LinkedIn Queens

👑LinkedIn has a daily game called Queens.

Everyday you get a new map with 8 coloured areas and you have to place 8 queens such that there is one queen per row, one queen per column, one queen per colour and no two queens can be adjacent.

The post below shows how you can use Python and Constraint Programming technique to solve the puzzles. There is also a link to github repo. Check it out 👇🏾

Queens game using CP