There are three playing cards in a row.

There is a heart to the left of a diamond. There is a five to the right of a jack. There is a club to the left of a diamond. There is a queen to the left of a club.

What are the three cards?

#### Solution

Queen of hearts, jack of clubs, and five of diamonds.

First, notice that there is a heart to the left of a diamond and a club to the left of a diamond. Since there are only three cards, this means the right card is a diamond.

Secondly, there is a queen to the left of a club, so that means the middle card must be a club (since the right card is a diamond and nothing can be to the left of the left card). This also means the left card is the queen of hearts.

Finally, there is a five to the right of a jack, so the middle card must be the jack of clubs and the right card must be the five of diamonds.

Q heart , J club , 5 Diamond

Queen of Heart then Jack of Club then 5 of Diamond…