Uber interview question

Graph based questions and segment trees