結果 : merge intervals problem solution