Tag: arrays
All the articles with the tag "arrays".
Prefix Sum
Prefix sum is a technique used to calculate the sum of elements in a given range in constant time.
Kadane's Algorithm
Kadane's Algorithm for finding the maximum contiguous subbarray
All the articles with the tag "arrays".
Prefix sum is a technique used to calculate the sum of elements in a given range in constant time.
Kadane's Algorithm for finding the maximum contiguous subbarray