dp: notes ch3 upto diff lists