This is slightly off-topic, but someone mentioned that it would be a good idea to check out BurntSushi's solutions after trying it yourself which seems like a fantastic idea.
It would be cool if there was some resource that linked well-written, idiomatic solutions for other languages as well. Anyone know if this has been done?