Any resources for code challenges or riddles?

3 points by krauses ↗ HN
I've seen a couple articles on HN regarding aptitude tests for finding qualified developers during a interview processes. Being that I'm fairly new to the development world, I've found these tests to be an interesting way to challenge myself and gauge my own aptitude. I found a couple of these challenges through a recent article on HN http://www.codinghorror.com/blog/2007/02/why-cant-programmers-program.html.

Does anyone know where I can find more random challenges? Someone pointed me to codegolf.com but the site seems to be down.

10 comments

[ 3.5 ms ] story [ 44.8 ms ] thread
I'll recommend two books: Programming Interviews Exposed: Secrets to Landing Your Next Job, 2nd Edition and Puzzles for Programmers and Pros. Especially the latter is a great resource to sharpen your skills on puzzle type questions. Also, there's the classic How Would You Move Mt. Fuji about puzzle questions.
(comment deleted)
It may not be exactly what you desire, but Project Euler (http://projecteuler.net/) presents a series of mathematical problems of variable difficulty. Working out solutions in code is a great problem-solving exercise, in my opinion.
Try http://uva.onlinejudge.org/index.php?option=com_onlinejudge&... (UVa Online Problem Set Judge). That used to be the ACM Valladolid Online Judge, but at some point they changed servers.

This one's more intended for high school folks (hadn't touched them since then), but try out USACO's training website. Anybody can sign up and do problems. http://train.usaco.org/usacogate

Both of these sites test your algorithmic knowledge, too, but that's always nice to brush up on anyway.