Блог пользователя hiddenanonymous

Автор hiddenanonymous, 3 года назад, По-английски

Hi, can anyone tell me is there any way to solve this problem recursively? In iterative way it's obvious to maintain prefix sums.

  • Проголосовать: нравится
  • -4
  • Проголосовать: не нравится