{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/a-non-recursive-space-efficient-blind","title":"A Non-Recursive Space-Efficient Blind Approach to Find All Possible Solutions to the N-Queens Problem","arxiv_id":null,"date":"2023-06-01","proceeding":"International Conference on Innovations in Data Analytics: ICIDA 2023 6","authors":["Suklav Ghosh","Sarbajit Manna"],"abstract":"N-Queen’s problem is the problem of placing N number of chess\r\nqueens on an NxN chessboard such that none of them attack each other. A chess\r\nqueen can move horizontally, vertically, and diagonally. So, the neighbours of a\r\nqueen have to be placed in such a way so that there is no clash in these three directions. Scientists accepts the fact that the branching factor increases in a nearly\r\nlinear fashion. With the use of artificial intelligence search patterns like Breadth\r\nFirst Search (BFS), Depth First Search (DFS) and backtracking algorithms, many\r\nacademics have identified the problem and found out a number of techniques to\r\ncompute possible solutions to n-queen’s problem. The solutions using a blind\r\napproach, that is, uninformed searches like BFS and DFS, use recursion. Also,\r\nbacktracking uses recursion for the solution of this problem. All these recursive\r\nalgorithms use a system stack which is limited. So, for a small value of N, it exhausts the memory quickly though it depends on machine. This paper deals with\r\nthe above problem and proposes a non-recursive DFS search-based approach to\r\nsolve the problem to save system memory. In this work, Depth First Search (DFS)\r\nis used as a blind approach or uninformed search. This experimental study yields\r\na noteworthy result in terms of time and space.","url_abs":"https://doi.org/10.1007/978-981-99-0550-8_27","url_pdf":"https://doi.org/10.1007/978-981-99-0550-8_27","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"a-non-recursive-space-efficient-blind","repo_url":"https://github.com/suklav/Artificial-Intelligence/blob/main/Nqueens_DFS.cpp","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"none","reach":null}],"tasks":[{"task_slug":"all","task_name":"All"},{"task_slug":"n-queens-problem-all-possible-solutions","task_name":"N-Queens Problem - All Possible Solutions"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/n-queens-problem-all-possible-solutions-on","task":"N-Queens Problem - All Possible Solutions","dataset":".","model":"Non-Recursive Blind Approach by Ghosh et al","rank_in_archive_order":1,"of":1,"metrics":{"Delay (seconds)":"41 for N=14 Queens"},"uses_additional_data":false}],"syntology":{"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}