Lesson 12.4 · Pro

Streaks: consecutive days and winning runs

The "gaps and islands" trick finds runs of consecutive days or consecutive wins.

In this lesson

  1. The trick: date minus row number
  2. Winning streaks: two row numbers