max sub array
merge intervals
insert intervals