add Max Diff In Sequence