English
Related papers

Related papers: Solving N-Queen Problem using Las Vegas Algorithm …

200 papers

In this work, we have introduced two innovative quantum algorithms: the Direct Column Algorithm and the Quantum Backtracking Algorithm to solve N-Queens problem, which involves the arrangement of $N$ queens on an $N \times N$ chessboard…

Quantum Physics · Physics 2023-12-29 Santhosh G S , Piyush Joshi , Ayan Barui , Prasanta K. Panigrahi

A linear algorithm is described for solving the n-Queens Completion problem for an arbitrary composition of k queens, consistently distributed on a chessboard of size n x n. Two important rules are used in the algorithm: a) the rule of…

Artificial Intelligence · Computer Science 2020-01-01 E. Grigoryan

In this paper a Metaheuristic approach for solving the N-Queens Problem is introduced to find the best possible solution in a reasonable amount of time. Genetic Algorithm is used with a novel fitness function as the Metaheuristic. The aim…

Neural and Evolutionary Computing · Computer Science 2018-02-07 Uddalok Sarkar , Sayan Nag

The N-queens problem is to find the position of N queens on an N by N chess board such that no queens attack each other. The excluded diagonals N-queens problem is a variation where queens cannot be placed on some predefined fields along…

Quantum Physics · Physics 2019-06-05 Valentin Torggler , Philipp Aumann , Helmut Ritsch , Wolfgang Lechner

How many mutually non-attacking queens can be placed on a d-dimensional chessboard of size n? The n-queens problem in higher dimensions is a generalization of the well-known n-queens problem. We provide a comprehensive overview of…

Optimization and Control · Mathematics 2024-06-11 Tim Kunt

How many mutually non-attacking queens can be placed on a d-dimensional chessboard of size n? The n-queens problem in higher dimensions is a generalization of the well-known n-queens problem. We present an integer programming formulation of…

Optimization and Control · Mathematics 2024-10-24 Tim Kunt

The $n$-queens puzzle is to place $n$ mutually non-attacking queens on an $n \times n$ chessboard. We present a simple two stage randomized algorithm to construct such configurations. In the first stage, a random greedy algorithm constructs…

Combinatorics · Mathematics 2021-07-12 Zur Luria , Michael Simkin

Gauss proposed the problem of how to enumerate the number of solutions for placing $N$ queens on an $N\times N$ chess board, so no two queens attack each other. The N-queen problem is a classic problem in combinatorics. We describe a…

Computation · Statistics 2024-07-15 Nick Polson , Vadim Sokolov

The n-queens puzzle is a well-known combinatorial problem that requires to place n queens on an n x n chessboard so that no two queens can attack each other. Since the 19th century, this problem was studied by many mathematicians and…

Data Structures and Algorithms · Computer Science 2019-07-22 Matteo Fischetti , Domenico Salvagnin

Quantum computers can potentially solve problems that are computationally intractable on a classical computer in polynomial time using quantum-mechanical effects such as superposition and entanglement. The N-Queens Problem is a notable…

We consider the problem of placing k queens on an nxn board so that the total number of attacked squares is as small as possible. In particular, we consider the domain where k is small relative to n and derive nearly tight bounds in this…

Combinatorics · Mathematics 2017-03-16 Daniel M Kane

An $n$-queens configuration is a placement of $n$ mutually non-attacking queens on an $n\times n$ chessboard. The $n$-queens completion problem, introduced by Nauck in 1850, is to decide whether a given partial configuration can be…

Combinatorics · Mathematics 2022-06-01 Stefan Glock , David Munhá Correia , Benny Sudakov

We present space-efficient parallel strategies for two fundamental combinatorial search problems, namely, backtrack search and branch-and-bound, both involving the visit of an $n$-node tree of height $h$ under the assumption that a node can…

Data Structures and Algorithms · Computer Science 2014-03-27 Andrea Pietracaprina , Geppino Pucci , Francesco Silvestri , Fabio Vandin

The queen domination problem asks for the minimum number of queens needed to attack all squares on an $n\times n$ chessboard. Once this optimal number is known, determining the number of distinct solutions up to isomorphism has also…

Logic in Computer Science · Computer Science 2025-08-19 Taha Rostami , Curtis Bright

We study optimal configurations of Queens on a square chessboard, defined as those covering the maximum number of squares. For a fixed number of Queens, $q$, we prove the existence of two thresholds in board size: a non-attacking threshold…

Using modular arithmetic of the ring $\mathbb{Z}_{n+1}$ we obtain a new short solution to the problem of existence of at least one solution to the $N$-Queens problem on an $N \times N$ chessboard. It was proved, that these solutions can be…

Combinatorics · Mathematics 2018-05-21 Dmitrii Mikhailovskii

The counting of solutions to the N-Queens problem is a classic NP-complete problem with extremely high computational complexity. As of now, the academic community has rigorously verified the number of solutions only up to N <= 26. In 2016,…

Distributed, Parallel, and Cluster Computing · Computer Science 2025-11-18 Guangchao Yao , Yali Li

The peaceable queens problem asks to determine the maximum number $a(n)$ such that there is a placement of $a(n)$ white queens and $a(n)$ black queens on an $n \times n$ chessboard so that no queen can capture any queen of the opposite…

Combinatorics · Mathematics 2024-10-29 Katie Clinch , Matthew Drescher , Tony Huynh , Abdallah Saffidine

We consider the problem of learning a general graph $G=(V,E)$ using edge-detecting queries, where the number of vertices $|V|=n$ is given to the learner. The information theoretic lower bound gives $m\log n$ for the number of queries, where…

Machine Learning · Computer Science 2018-03-29 Hasan Abasi , Nader H. Bshouty

Using hashing techniques, this paper develops a family of space-efficient Las Vegas randomized algorithms for $k$-SUM problems. This family includes an algorithm that can solve 3-SUM in $O(n^2)$ time and $O(\sqrt{n})$ space. It also…

Data Structures and Algorithms · Computer Science 2013-03-12 Joshua Wang
‹ Prev 1 2 3 10 Next ›