Pregunta de entrevista de Google

Question based on Maps Course Schedule II - Leetcode Segment Tree