Sunday, June 12, 2011

Challenge Complete!

The Challenge is complete!

I had a few hiccups; being distracted by a movie and sleeping (bleh). All in all it was very fun. In total I took me about 150ish minutes of actual coding time.

Things I learned:

  • In challenges like this you really need to know your language. I unfortunately did not know python that well, which lead to some headaches and constant syntax look ups. I would have been better using lisp.
  • I really like recursion. I used it in every solution. Made my code super tiny! My longest solution was 30 lines long.
  • One of my friends who recently completed the challenge said there was "secret tech" to solving the first challenge super fast. I think that distracted me too much. Still don't know what it was, my solution runs in n^2 time, but usually better due to some tricks I added.
Give the challenge a shot!

No comments:

Post a Comment