Building on what already is the most comprehensive introduction to competitive programming, this enhanced new textbook features new material on advanced topics, such as calculating Fourier transforms, finding minimum cost flows in graphs, and using automata in string problems. Critically, the text accessibly describes and shows how competitive programming is a proven method of implementing and testing algorithms, as well as developing computational thinking and improving both programming and debugging skills.
Topics and features: introduces dynamic programming and other fundamental algorithm design techniques, and investigates a wide selection of graph algorithms; compatible with the IOI Syllabus, yet also covering more advanced topics, such as maximum flows, Nim theory, and suffix structures; surveys specialized algorithms for trees, and discusses the mathematical topics that are relevant in competitive programming; reviews the features of the C++ programming language, and describes how to create efficient algorithms that can quickly process large data sets; discusses sorting algorithms and binary search, and examines a selection of data structures of the C++ standard library; covers such advanced algorithm design topics as bit-parallelism and amortized analysis, and presents a focus on efficiently processing array range queries; describes a selection of more advanced topics, including square-root algorithms and dynamic programming optimization.
Fully updated, expanded and easy to follow, this core textbook/guide is an ideal reference for all students needing to learn algorithms and to practice for programming contests. Knowledge of programming basics is assumed, but previous background in algorithm design or programming contests is not necessary. With its breadth of topics, examples and references, the book is eminently suitable for both beginners and more experienced readers alike.
0 有用 DestinHistoire 2024-07-04 03:21:42 美国
CSES习题集质量很高,每组内大体按照难度梯度排序,不少题目都颇有算法与组合背景,少有纯粹的竞赛技巧但并不排斥难题,适合修炼内功。
1 有用 RogerZQ 2021-11-10 14:25:02
Competitive Programmer’s Handbook 的印刷版,但 Handbook 的结构更清晰一些。这个条目只是用来标记。简明扼要地过一遍做算法题之前需要了解的概念。本书优点是把一些需要注意坑也写进去了。缺点是为了保持篇幅简短写得太抽象了,其实不是很好懂,很多过程都被略去了,需要多花一些时间想通为什么作者突然冒出某一句话。