Start Competitive Programming!: Ace the USACO Bronze Competition
Start Competitive Programming!: Ace the USACO Bronze Competition
About the Book
2024 update! + new pricing for teams (please get in touch!)
OK, so you want to do some competitive programming.
Maybe you've heard that competitive programming is great interview prep for the coding interview.
Or that it can help you learn to be a better programmer.
Or that it can help you learn algorithms and problem-solving to supercharge your code.
Or that competitive programming is fun.
All true! (Well, we hope it's fun :-) )
If you want to get started with competitive programming, look no further. Inside, you'll find:
-Expert advice from the authors. Dr. Baharav (that's Coach B in the book :-) ) is a competitive programming coach. Dr. Zingaro is the author of several bestselling algorithms, Python, problem-solving, and competitive programming books and a professional editor.
-Advice for how to categorize a problem before trying to solve it. Why categorize? Because then you know what kind of problem it is and what solution techniques to try! Modelling problems, search problems, optimization problems, geometry problems (don't run away... NO PROOFS, we promise!), string problems, ad hoc problems -- we've got them.
-Communication between a coach and their team. Like what a real coach would do! We're not just gonna jump to the final answer and call it a day. That would just be confusing. We need to explore and learn first!
-C++ code for all problems in the book.
-Curated, categorized selections of practice problems, with hints and full C++ code. Python code also provided!
Stop spending time figuring out what to learn next, getting confused by cryptic code, or circling around many different websites. Our no-nonsense guide shows you how to navigate, from "never tried competitive programming before" all the way to "BOOM, passed Bronze!"
Wanna participate in Advent of Code? Codeforces? Leetcode? Or want to prepare for a future coding interview? You can! We focus on USA Computing Olympiad (USACO) Bronze level for this book, but you can apply what you learn to whatever competitive programming or interview prep you'd like to do.
Team Discounts
Get a team discount on this book!
Table of Contents
- Letter to the student
- Letter to the parent
- Letter to the trained professional
- Acknowledgments
- Chapter 1. USACO Bronze
- 1.1. USACO Bronze FAQ
- 1.2. Solving and Submitting a USACO Problem
- 1.3. How to Work With This Book
- 1.4. Summary
- Chapter 2. Solving and Coding: Competition Specifics
- 2.1. Reading and Analyzing a USACO Problem
- 2.2. Coding Your Algorithm
- 2.3. Debugging
- 2.4. Using a Solution
- 2.5. Summary
- Chapter 3. Complexity Analysis
- 3.1. Big O Notation
- 3.2. Time complexity
- 3.3. Space complexity
- 3.4. Summary
- Chapter 4. Modeling and Simulation
- 4.1. Modeling a Dynamic Process
- 4.2. Modeling a Static Process
- 4.3. Modeling a Periodic Process
- 4.4. Simulation Acceleration
- 4.5. Summary
- Chapter 5. Searching and Optimization
- 5.1. Exhaustive Search
- 5.2. Search Domain
- 5.3. Domain Enumeration
- 5.4. Search Acceleration
- 5.5. Greedy Algorithms
- 5.6. Summary
- Chapter 6. Geometry Concepts
- 6.1. One Dimension: Lines
- 6.2. Two Dimensions: Rectangles
- 6.3. Beyond Ninety Degrees
- 6.4. Summary
- Chapter 7. Strings
- 7.1. Strings as Sequences of Characters
- 7.2. Strings as Words
- 7.3. Strings as Objects
- 7.4. Summary
- Chapter 8. Ad Hoc Problems and Advanced Techniques
- 8.1. The Forward-Backward Technique
- 8.2. Focusing on Significant Events
- 8.3. Trees
- 8.4. Dictionaries and Dynamic Arrays
- 8.5. Summary
- Chapter 9. Competition Day
- 9.1. A Week Before
- 9.2. The Competition
- 9.3. Post Competition
- 9.4. Summary
- Chapter 10. Beyond USACO Bronze
- 10.1. Silver and Beyond
- 10.2. Solving your first USACO Silver Problem
- 10.3. Summary
- Appendix A. List of All USACO Bronze Problems
- USACO problems
- Codeforces problems
- CSES Problems
- Appendix B. Practice Beyond USACO
- B.1. Online Guides and Live Coaching
- B.2. Online Practicing and Competing
- B.3. BOOKS
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them