# Maze > A small maze solving program ## Example > This example uses the DFS algorithm, but the program supports the BFS algorithm as well. ![Recording 2023-05-05 200237 (online-video-cutter com)](https://user-images.githubusercontent.com/56473591/236534874-f618c075-86af-41a9-9c4e-08e7d504af00.gif)