Tag: meetingrooms

  • Data Structures & Algorithms in Java – Intervals – Meeting Rooms

    Problem: Given an array of meeting time intervals (start time , end time) find if all the meetings could be attended. For example, Given the input array of intervals: [[10,20],[15,30],[30,40]] Return false because the meetings [10,20] and [15,30] overlap. For the intervals [[10,30],[40,50]] Return true because the meetings don’t overlap Try out the solution here:…