Meeting Rooms II - LeetCode 253 - JavaScript