Wednesday, July 29, 2009

Wikibooks, XQuery, and Sudoku

You probably have heard about all three, Wikibooks, XQuery, and Sudoku, but maybe not in the same context.

Wikibooks is a wiki-based collection of free educational text books. One of the books is targeted at providing XQuery examples. Even if the system used for most of the examples is not (yet) DB2, it is worth a look. How come Sudoku puzzles into the big picture? Well, one of the chapters in the XQuery book deals with "Puzzles, Maths and Games" and one example shown is how to solve Sudoku puzzles using XQuery.

As I said, the examples are not based on DB2, but it should be possible to port the functions and query to DB2 (ping me for ideas). If you are teaching, writing something similar (from scratch) could be a nice student project.

1 comment:

Anna said...

My name is Leonid Khiger.

I want to say: I have created Sudoku Solver for any type of Sudoku, which is mono-DB2-statement.

Usualy my SS give the solution in seconds.

If you are interesting on it you can find my Sudoku Solver using link:

http://www.ibmmainframes.com/viewtopic.php?t=44084&sid=168532e2bc456a32159396284cbcebab

or

http://it4business.ru/forum/topic15936.html

or You can use GOOGLE search by
"Sudoku DB2"

Leonid Khiger, ADSPA&VP

LinkWithin

Related Posts with Thumbnails