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.
You have to fill the below given grid in a manner that every row and column contains the digits 1 to 6. Also, make sure that the squares that are connected with each other must contains the same digit.
There are nine dots in the picture that has been attached with this question. Can you join all the dots by drawing four straight lines without picking up your pen?