Insert Intervals and merge intervals
LCS