Sequential Scan Assignment

From CSE231 Wiki
Jump to navigation Jump to search

Code To Implement

Sequential Sum Scanner

class: SequentialSumScanner.java Java.png
methods: sumScan
package: scan.exerise
source folder: student/src/main/java

method: public int[] sumScan(int[] data) Sequential.svg (sequential implementation only)

Attention niels epting.svg 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:

Sequential scan.png

Work: N

CPL: N

Testing Your Solution

class: _SequentialScannerTestSuite.java Junit.png
package: scan.group
source folder: testing/src/test/java