You need to complete the maze by entering from the entrance marked below in the figure near the yellow circle, bottom left and leaving from the exit point near the green circle, bottom middle.
Rule of Game: You can move only by exchanging green and yellow circles.
If you had an infinite supply of water and 5-quart and 3-quart pails, how would you measure exactly 4 quarts? What is the least number of steps you need?