SpaceX interview question

how to program a cereal box maze solver