Guide to Competitive Programming: Learning and Improving Algorithms Through Contests
- Length: 283 pages
- Edition: 1st ed. 2017
- Language: English
- Publisher: Springer
- Publication Date: 2018-02-09
- ISBN-10: 3319725467
- ISBN-13: 9783319725468
- Sales Rank: #221702 (See Top 100 Books)
This invaluable textbook presents a comprehensive introduction to modern competitive programming. The text highlights how competitive programming has proven to be an excellent way to learn algorithms, by encouraging the design of algorithms that actually work, stimulating the improvement of programming and debugging skills, and reinforcing the type of thinking required to solve problems in a competitive setting. The book contains many “folklore” algorithm design tricks that are known by experienced competitive programmers, yet which have previously only been formally discussed in online forums and blog posts.
Topics and features: 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; introduces the algorithm design technique of dynamic programming, and investigates elementary graph algorithms; covers such advanced algorithm design topics as bit-parallelism and amortized analysis, and presents a focus on efficiently processing array range queries; surveys specialized algorithms for trees, and discusses the mathematical topics that are relevant in competitive programming; examines advanced graph techniques, geometric algorithms, and string techniques; describes a selection of more advanced topics, including square root algorithms and dynamic programming optimization.
This easy-to-follow guide is an ideal reference for all students wishing to learn algorithms, and practice for programming contests. Knowledge of the basics of programming is assumed, but previous background in algorithm design or programming contests is not necessary. Due to the broad range of topics covered at various levels of difficulty, this book is suitable for both beginners and more experienced readers.
Table of Contents
Chapter 1 Introduction
Chapter 2 Programming Techniques
Chapter 3 Efficiency
Chapter 4 Sorting And Searching
Chapter 5 Data Structures
Chapter 6 Dynamic Programming
Chapter 7 Graph Algorithms
Chapter 8 Algorithm Design Topics
Chapter 9 Range Queries
Chapter 10 Tree Algorithms
Chapter 11 Mathematics
Chapter 12 Advanced Graph Algorithms
Chapter 13 Geometry
Chapter 14 String Algorithms
Chapter 15 Additional Topics