<awangdev>252. Meeting Rooms_1.java
public boolean canAttendMeetings(int[][] intervals) {
        if (intervals == null) return true;
        Arrays.sort(intervals, Comparator.comparing(i -> i[0]));

        for (int i = 0; i < intervals.length - 1; i++) {
            if (intervals[i][1] > intervals[i + 1][0]) return false;
        }
        return true;
    }
public boolean var_0 ( int [ ] [ ] var_1 ) {
  if ( var_1 == null ) return true ;
  Arrays . sort ( var_1 , Comparator . comparing ( var_7 -> var_7 [ 0 ] ) ) ;
  for ( int var_7 = 0 ;
  var_7 < var_1 . length - 1 ;
  var_7 ++ ) {
    if ( var_1 [ var_7 ] [ 1 ] > var_1 [ var_7 + 1 ] [ 0 ] ) return false ;
  }
  return true ;
}
