Thoughts This question is very similar to meeting rooms 2,which is equivalent to given a interval set, find minimum rooms to hold all the intervals. Like that question, we can use the greedy algorithm to solve it. But notice that,before we do the one-pass greedy/DP algorithm, we need t...