hiddenanonymous's blog

By hiddenanonymous, 3 years ago, In English

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

  • Vote: I like it
  • -4
  • Vote: I do not like it