Compute minimum rooms for meeting schedule | IBM Interview Question