Domanda di colloquio di Kira Systems

Can you provide a solution with better algorithmic performance?

Risposta di colloquio

Anonimo

24 mar 2017

Yes - use an interval tree as your base data structure where assuming not all events overlap - the performance would be n log n.