update insert intervals solution
update the distinct subsequences solution