This is actually a quiz in our Algorithm Analysis and Design class where we're provided a 9x9 sudoku table filled with few numbers. Now, our teacher allowed us to use any programming language, provided that it's structural and not OOP, in order to come up with a sudoku solver app.

Here's the catch, the 9x9 sudoku grid has few numbers and the program should be able to fill in possible numbers to complete the grid.

I decided to start programming/coding it on ruby by making 9 arrays, assuming that they're the 9 rows.

Note that we have to provide the algorithm though.

what's your question? we're not just going to give you the code.

Ask this in the web dev.ruby forum. ;D