diff options
Diffstat (limited to 'Tools/demo/queens.py')
-rwxr-xr-x | Tools/demo/queens.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/demo/queens.py b/Tools/demo/queens.py index ffd4bea..dcc1bae 100755 --- a/Tools/demo/queens.py +++ b/Tools/demo/queens.py @@ -1,12 +1,12 @@ -#! /usr/bin/env python3 +#!/usr/bin/env python3 -"""N queens problem. +""" +N queens problem. The (well-known) problem is due to Niklaus Wirth. This solution is inspired by Dijkstra (Structured Programming). It is a classic recursive backtracking approach. - """ N = 8 # Default; command line overrides |