Swap tiles and solve the puzzle in as few steps as possible. The puzzle is solved when any two horizontally or vertically adjacent tiles share exactly one common attribute - either same symbol or same color, but not both.