Problem 2142 · Medium

The Number of Passengers in Each Bus I

SQL walkthrough with invented sample tables. Each passenger takes the first bus at or after their arrival, and every bus gets a count, including zero.

Open the interactive visualisation