Loading topic
17 mod 5 = 2.1 min readVideo lecturea mod b (written a % b in Python) is the remainder of dividing a by b. The running example is Euclid's algorithm for the greatest common divisor (GCD).1 min readVideo lecture%, and write a problem specification with preconditions and postconditions.2 min readVideo lecture3 chapters have a video lecture. Each plays at the top of its chapter.
Published YouTube: watch What Is an Algorithm? (opens in a new tab)
Published YouTube: watch The Three Building Blocks: Sequence, Selection, Iteration (opens in a new tab)
Published YouTube: watch Does It Solve the Problem? Checking Correctness (opens in a new tab)