Performance Analysis of the N-Queen Problem Using a Brute Force Optimization Approach
Author:
- 24 August 2026
- journal article
- Published by Integrated Intelligent Research in INTERNATIONAL JOURNAL OF COMPUTING ALGORITHM
- Vol. 15 (1) , 49
Abstract
The N-Queen problem is a well-known combinatorial optimization and constraint satisfaction problem in computer science, which requires placing N queens on an N × N chessboard such that no two queens threaten each other horizontally, vertically, or diagonally. Owing to its exponential search space and strict constraints, the problem has been extensively used as a benchmark for evaluating algorithmic efficiency, optimization strategies, and computational complexity. This paper presents a comprehensive analysis of the N-Queen problem solved using the brute force technique, which systematically explores all possible board configurations to identify valid solutions. The brute force approach, although simple in design and easy to implement, does not employ heuristics or pruning mechanisms, making it computationally intensive as the value of N increases. In this study, the algorithm's performance is evaluated using key parameters such as time complexity, space complexity, and convergence rate. Time complexity is examined in terms of factorial growth, highlighting the rapid escalation of computational cost with increasing board size. Space complexity is analysed based on memory requirements for storing board configurations and recursive processing. Additionally, convergence rate is discussed to assess how quickly the algorithm arrives at a valid solution within the exhaustive search space. Experimental observations indicate that while the brute force method is effective for small values of N, its performance degrades significantly for larger board sizes due to exponential growth in computation time. Despite its limitations, the brute force technique provides a fundamental baseline for understanding the inherent difficulty of the N-Queen problem and serves as a reference point for comparing more advanced optimization and heuristic-based algorithms. The findings of this study emphasize the necessity of intelligent search strategies for solving large-scale combinatorial problems and contribute to a deeper understanding of algorithmic trade-offs in optimization research.Keywords
This publication has 3 references indexed in Scilit:
- A survey of known results and research areas for-queensDiscrete Mathematics, 2009
- Minimizing conflicts: a heuristic repair method for constraint satisfaction and scheduling problemsArtificial Intelligence, 1992
- Backtrack ProgrammingJournal of the ACM, 1965