Given a list of meetings with thier start and end times , for example : {{1,4}, {2,3.5}, {5,7}}
and given a set of queries:
Write an O(mlogn) algorithm for the problem, m is the number of queries and n is the number of intervals in the meeting array. Can someone come up with an effecient code?