taking turns dp (18,236 results)