Problem 1699 · Medium

Number of Calls Between Two Persons

teaching version: treat each call as belonging to an unordered pair of people, then count calls and sum durations per pair. Sample tables are invented.

Open the interactive visualisation