MAZE ALGORITHM: IS IT SOLVABLE?

dc.contributor.authorZayniyev Sanjar Azmiddin ogli
dc.date.accessioned2025-12-28T10:50:14Z
dc.date.issued2025-06-04
dc.description.abstractThis article presents a solution to the classic maze traversal problem, where the objective is to determine whether a valid path exists from a designated starting point ('S') to an exit point ('E') in a grid-based maze. The maze is composed of open paths ('.'), walls ('#'), a start, and an exit, with movement restricted to horizontal and vertical directions. The solution implements the Depth-First Search (DFS) algorithm to explore the maze and identify whether a path from the start to the exit exists, while avoiding revisits and obstacles. Key operations include maze input handling, algorithm initialization, execution, and result output. The implementation employs essential data structures such as a 2D array for maze representation, a stack for DFS traversal, and a boolean array to track visited cells. The article discusses the design decisions behind these structures, outlines the algorithm's limitations, and explores potential future enhancements. This work highlights the importance of algorithmic problem-solving and data structure selection in pathfinding applications.
dc.formatapplication/pdf
dc.identifier.urihttps://usajournals.org/index.php/2/article/view/257
dc.identifier.urihttps://asianeducationindex.com/handle/123456789/4244
dc.language.isoeng
dc.publisherModern American Journals
dc.relationhttps://usajournals.org/index.php/2/article/view/257/283
dc.rightshttps://creativecommons.org/licenses/by/4.0
dc.sourceModern American Journal of Engineering, Technology, and Innovation; Vol. 1 No. 2 (2025); 259-265
dc.source3067-7939
dc.subjectMaze Solving, Depth-First Search (DFS), Pathfinding Algorithm, Java Programming, Data Structures, Stack, Grid Traversal, Algorithmic Problem Solving, Search Algorithms, Optimal Pathfinding, 2D Maze Representation.
dc.titleMAZE ALGORITHM: IS IT SOLVABLE?
dc.typeinfo:eu-repo/semantics/article
dc.typeinfo:eu-repo/semantics/publishedVersion
dc.typePeer-reviewed Article

item.page.files

item.page.filesection.original.bundle

pagination.showing.labelpagination.showing.detail
loading.default
thumbnail.default.alt
item.page.filesection.name
ogli_2025_maze_algorithm_is_it_solvable.pdf
item.page.filesection.size
537.19 KB
item.page.filesection.format
Adobe Portable Document Format