add dp problem:minimize the difference
add dp problem :minimize the difference