i would like to know about the mechanism and algorithm for a maze solving robot.in this project there are two robots.one will solve the maze and transfer the message to the other robot and finally the 2nd robot will solve the maze in the shortest possible way.

can sum one help me to solve this out