Hacker News new | ask | show | jobs
by joaorico 3358 days ago
The book I recommend to people getting started is Competitive Programming 3 [1] by Steven and Felix Halim. It's pretty great if you have already a basic grasp of simple algorithms and a bit of C++.

And as you say you need to practice, and the book incentivizes it. They accompany the book with precisely problems from UVa Online Judge, some of them solved and with code (in the book and in the site).

[1] https://cpbook.net/

2 comments

I bought the A5 version and the printing quality was extremely low, they shouldn't sell something this bad. I would get another format if I had to buy it again.
Are the only difference between CP 1,2 and 3 that each is a newer version? It's hard to tell from the site.
Subsequent versions contain more algorithms and details. Some subtler optimizations are also mentioned in later books.
yes, i believe so.
I see, thanks.