Pocket Gems interview question

Few different technical questions. One was about finding a path through a 2d grid maze. Another about processing an arithmetic string.