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.

This publication has 3 references indexed in Scilit: