Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I am looking for a book with graded (i.e from low to high level of difficulty) collection of programming problems. The problems I am interested in are Algorithm/Data Structure problems, since this is the genre of problems asked in ACM ICPC, Topcoder, CodeJam, Facebook puzzles, and majority of interviews, I suppose. I do know of various collections on web but none of them are graded so it is daunting for a beginner to get started. I am looking for something that starts from the very beginning and goes up to Topcoder level, for instance.

share|improve this question

4 Answers 4

Not a book, but a large collection of graded programming problems is Project Euler.

It is tailored towards mathematical computer programming problems. But you do not need high mathematical or programming knowledge, since

by solving one problem it will expose you to a new concept that allows you to undertake a previously inaccessible problem. So the determined participant will slowly but surely work his/her way through every problem.

share|improve this answer

Cracking the Coding Interview divides the problems into Easy, Moderate and Hard categories, along with the traditional categories (Algorithms, Data Structures, etc...)

Also have a look at Exceptional C++ and the free WikiBook

share|improve this answer

I just came across a book that I think can help you out. It's aptly names "Programming Challenges" (Amazon) The professor who created it also has a page here

share|improve this answer

Problems in Knuth's Art of Computer Programming are graded. Many of the problems are theoretical, but some are also about solving problems you might enocunter in the real-world. They are instructive and almost all problems are answered in the book.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.