Anduril interview question

Design a maze solving algorithm