Skip to main content
PreparationZone Logo
PreparationZone
Back to Coding

Coding · Medium · Pro

Meeting rooms — can one person attend all meetings?

CodingIntervalsSenior
Model answerPreview

Approach

  • Sort by start time.
  • If any meeting starts before previous ends, return false.

Java Solution

Java
public boolean canAttend(int[][] meeti…