Create a meeting manager that has the following functionalities. Given a list of meeting times, check if any of them overlap. Return the minimum number of rooms required to accommodate all the meetings.
class MeetingsManager {
public addMeeting(startTime: number, endTime: number): void {}