hiddenanonymouskgp's blog

By hiddenanonymouskgp, 3 days 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