J.P. Morgan interview question

Design a maze solving algorithm. Pandas data manipulation