Main Article Content

The turning points in the solution of n-queens problem using backtracking method


SC Chiemeke
EO Osaghae

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

Journal Identifiers


eISSN: 1116-4336