n-Queens Completion (n-Queens Problem)
Revision as of 10:26, 15 February 2023 by Admin (talk | contribs) (Created page with "{{DISPLAYTITLE:n-Queens Completion (n-Queens Problem)}} == Description == Given an $n \times n$ chessboard that already has $k$ queens on it, complete the board such that there are $n$ queens, all of which cannot attack each other. == Related Problems == Related: Counting Solutions, Constructing Solutions == Parameters == <pre>n: size of chessboard k: number of queens given</pre> == Table of Algorithms == {| class="wikitable sortable" style="text-alig...")
Description
Given an $n \times n$ chessboard that already has $k$ queens on it, complete the board such that there are $n$ queens, all of which cannot attack each other.
Related Problems
Related: Counting Solutions, Constructing Solutions
Parameters
n: size of chessboard k: number of queens given
Table of Algorithms
Name | Year | Time | Space | Approximation Factor | Model | Reference |
---|---|---|---|---|---|---|
Grigoryan | 2018 | $O(n)$ | $O(n)$ | error < 0.0001 and decreases with increasing n | Randomized | Time |