practice problems and SRM584 div 2