Skip to main content
5 events
when toggle format what by license comment
Sep 6, 2017 at 17:55 comment added gaurav5430 you mentioned suffix trees, how can they be used to solve this particular problem ?
Sep 6, 2017 at 17:08 comment added gaurav5430 @iankits this link helped me : wcipeg.com/wiki/Prefix_sum_array_and_difference_array
May 5, 2016 at 19:28 comment added Ankit Singh A naive question, but I don't understand the logic of doing 'arr_a += k and arr_b+1 −=k' operation. Can you please explain this.
Jul 27, 2015 at 2:41 history edited Quill CC BY-SA 3.0
Improved Formatting
Jul 4, 2015 at 21:03 history answered Snowhawk CC BY-SA 3.0