593 div 2: worked on dp tutorials