IBM Interview Question

Meeting Room 2 on leetcode