riju561 / DSAlgo

3 stars 18 forks source link

Add subarray modulo sum cpp question #6

Closed RahulSharma099 closed 3 years ago

RahulSharma099 commented 3 years ago

Given an array of n elements and an integer m. The task is to find the maximum value of the sum of its subarray modulo m i.e find the sum of each subarray mod m and print the maximum value of this modulo operation.

Sucess Criteria:-

  1. O(nlogn) time complexity
RahulSharma099 commented 3 years ago

can I work on this issue @riju561 ?

riju561 commented 3 years ago

Sure, go ahead

RahulSharma099 commented 3 years ago

Success!