RJO4's blog

By RJO4, history, 17 months ago, In English

Given an array of n elements and an integer K, the task is to find the subarray with minimum value of ||a[i] + a[i + 1] + ……. a[j]| – K|. Array may contain negative values. N<=1e5.

Full text and comments »

  • Vote: I like it
  • +18
  • Vote: I do not like it