Question d’entretien chez Twitch

question regarding segment tree and graph theory