How to solve this riddle?
All rooms have the same shape and size. Every room has one entrance, and two exits: one on the left, and one on the right (on opposite directions). Both exits lead to a new room.
You are in the first room. You turn right, and arrive to a new room. In the second room, you turn again right. In the third room, you turn left, and arrive at where you started.
What shape the rooms have?
Rooms are usually rectangular but I think it is not the case here.
As stated, all you can tell is that the second room shares the left wall with the first room and the right wall with the third room. This is because turning right from room $A$ into room $B$ and then turning left from room $B$ will lead you again in room $A$.
On the other hand, I suppose that the actual path is:
Let's call the rooms $A,B$, and $C$ for brevity. Then in this case, you can conclude that $A$ shares the left wall with $C$ and the right wall with $B$, which in turn shares its right wall with $C$. In other words, you can imagine the three rooms arranged in a circle.
Note, though, that in either case you cannot really tell anything about the shape of the walls. All you can say is how the rooms are connected to each other.