A machine runs many tasks; you have their busy intervals. Answer many queries: was it busy at any moment between t1 and t2? A Waymo MLE phone screen asking for the lowest time complexity.
A machine runs many tasks; you have their busy intervals. Answer many queries: was it busy at any moment between t1 and t2? A Waymo MLE phone screen asking for the lowest time complexity.
The discussion opens with the full question.