Problem 2725 · Easy

Interval Cancellation

teaching model: call a function immediately, then once per period, and stop scheduling once the cancel time is reached.

Open the interactive visualisation