Connect numbered nodes in order while filling every cell of the grid.
Place one queen per row, column and color region — no two queens may touch.