Place the letters A, B and C in the grid. The letters on the edge are informations about the arrangement of the row or column. Repeated letters are given only as single letters. If a line is AABBA , then, for example, ABA is at the edge. The question marks indicate that we do not know which letter is at this place.
Example:
Puzzle: