Sequential Scan Assignment
Jump to navigation
Jump to search
Code To Implement
Sequential Sum Scanner
class: | SequentialSumScanner.java | |
methods: | sumScan | |
package: | scan.exerise | |
source folder: | student/src/main/java |
method: public int[] sumScan(int[] data)
(sequential implementation only)
Warning:Do NOT mutate the data parameter. Return a new array which contains the sum scan of data. |
Implement the simple sequential scan algorithm with the dependencies depicted below:
Work: N
CPL: N