Weekend Programming Challenge: Week #28 Sudoku Solver


Image

Problem:

Make code which solves Sudoku in 3×3 configuration.

http://en.wikipedia.org/wiki/Mathematics_of_Sudoku

Input:  enter the initial cells which are initialized with start numbers

Check the input for correctness then print solution(s).

Brute force, Bread first, Depth first … there are lot of options you can use 🙂

The rules:

You can code the solution in any programming language during the weekend and have to submit it to info@olimex.com latest on Sunday October 13th.

On Monday we will upload the solutions on GitHub https://github.com/OLIMEX/WPC

You can play with your real name or with nick if you want to be anonymous, we will not disclosure your personal info if you do not want to.

8 Comments (+add yours?)

  1. Dylan
    Oct 11, 2013 @ 22:46:48

    Haha! If I had been at home for the announcement I would have shocked you 😉 My solution to http://projecteuler.net/problem=96 is by no means complete, nor bug free, but I’ll submit it all the same. I wish I had more time to enter the challenges, but https://www.edx.org/course/mit/6-00-1x/introduction-computer-science/1122 and https://www.edx.org/course/mit/6-002x/circuits-and-electronics/1130 may be of interest to people here.

    Reply

    • OLIMEX Ltd
      Oct 12, 2013 @ 00:39:20

      interesting the problem 96 link does not open
      the background of this challenge is that my son is student and he got this as homework few monthes ago, but he couldn’t solve it and searching the net didn’t show solution too 🙂
      I helped him with lazy brute force solution, but I’m sure there are more elegant solutions too

      Reply

    • OLIMEX Ltd
      Oct 12, 2013 @ 00:57:50

      let’s hope it will be down till monday 😉

      Reply

      • Dylan
        Oct 12, 2013 @ 01:02:32

        Actually the way it (is supposed to!) works is that you get the challenge, but abide by an honour code to solve it yourself. A great way to practice using a new language, as are your challenges also!

  2. Dylan
    Oct 12, 2013 @ 00:45:26

    Reply

  3. Nike
    Oct 13, 2013 @ 01:40:28

    Sorry for the stupid question, but where should we upload the the code when its done?

    Reply

Leave a comment