views:

840

answers:

7

I'm looking to get some practice coding solutions to algorithm puzzles on a whiteboard. A friend is going to read puzzles to me (as if he were interviewing me), and I'll solve them on a whiteboard.

Does anyone know any great books with algorithm puzzles that would be useful for this? I found a book called Puzzles for Programmers and Pros, but it only has six reviews on Amazon, so I'm not sure how good it really is.

If anyone has any recommendations, I'd really appreciate it. Thanks a bunch.

A: 

One of our hosts recommends to mock a Mockingbird. That link also includes many other algorithm puzzles.

Chip Uni
A: 

Wait, I thought Stackoverflow was for algorithm puzzles. Seriously though, the "Customers Who Bought This Item Also Bought" list from the Mockingbird book listed above on Amazon has some other algorithm/logic choices that are rated highly. In think one of unintended consequences of the Coding Horror linking is a skewed customer sampling whose taste are just right for your question.

4.669201
+2  A: 

You could check Project Euler. It's more on the math end than the computer end, but these are good coding exercises.

Mathias
I agree: Project Euler is good for puzzles, but it's not a book.
Chip Uni
@ Chip Uni: you are correct. I based my answer on the assumption that what mattered was to have a good collection of algorithm-oriented puzzles, and that the book medium was not crucial.
Mathias
+1  A: 

Try Careercup with online interview questions and puzzles. You can also order their PDF book with 150 questions and 120 solutions.

+1  A: 

Programming Challenges by Skiena and Revilla

Regards

High Performance Mark
+1  A: 

Check out the Materials section of MIT's Hacking a Google Interview course.

Also for some really good advice check out CareerCup's tech interviewing slides.

Moishe
I've been using these for a couple of weeks, and they're fantastic. Thanks a bunch.
jboxer
+1  A: 

www.topcoder.com

sarvesh