Home / Learn
LearnGuides with worked examples
Clear, short explanations of the topics the Campus Cup loves, with every example worked through step by step.
Modular arithmetic made simple
Fermat, Euler and repeated squaring, with three worked examples.
Counting and combinations
Arrangements, stars and bars and inclusion–exclusion, worked step by step.
Binary and bit manipulation
Two’s complement, XOR/AND/OR and shifts with quick examples.
The Master theorem
Solve divide-and-conquer recurrences in seconds, with four examples.
Dijkstra’s algorithm step by step
A full distance table for a small graph, plus the mistakes to avoid.
Knights and knaves puzzles
A reliable case-testing method with a full truth table.