Pergunta de entrevista da empresa Kira Systems

Given a sequence of events implement (in Clojure) a solution that identifies which sequences overlap with each other.

Resposta da entrevista

Sigiloso

24 de mar. de 2017

Use a double for loop to compare each event sequence with the next one. Compare the start time of one event with the end time of the next - if the end time of the next event is greater than the start time there is overlap.