Abstract
Conventional backtracking method has been the generally accepted method for solving n-queens problem. However, this method may prolong execution time for fairly large n-queens (example, n = 30) and most cases, failed to find solution to large n queens problem. In this paper, we asserted that, even/odd numbered values of n-queens problem can affect the corresponding solutions of the standard backtracking. We also observed that, using a set of even and odd numbers, the odd number experience a turning point before the even numbers. The algorithm of the standard backtracking method was implemented in C programming language and, we used Microsoft Notepad as our output file to display the arrangement of the queens. Journal of the Nigerian Association of Mathematical Physics Vol. 10 2006: pp. 107-114
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
More From: Journal of the Nigerian Association of Mathematical Physics
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.