N-Queens Problem
Description
This applet displays the solution for the N-Queens Problem.
Insert a number between 2 and 16 in the text field to create a board.
- Animate Solution: Click this button to display the entire sequence of moves including backtracking used in
finding a solution. Caution: This may take a long time if the board size is greater than 6!
- Display Solution: Displays a solution, without showing the intermediate steps.
Data Structures and Algorithms
Java Applets Centre
R. Mukundan
Department of Computer Science
University of Canterbury
Private Bag 4800, Christchurch
New Zealand.