https://github.com/skills/introduction-to-github.git #1239
Closed
vishalrawat80
started this conversation in
Campus Ambassador and CA leaderboard
Replies: 1 comment
-
@vishalrawat80 any queries ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
static boolean canAttend(int[][] arr) {
Arrays.sort(arr,(a,b)->a[0]-b[0]);
for(int i = 0;i<arr.length-1;i++){
if(arr[i][1] > arr[i+1][0]){
return false;
}
}
return true;
Beta Was this translation helpful? Give feedback.
All reactions