Difference between revisions of "Sequential Scan Assignment"
Jump to navigation
Jump to search
(Created page with "=Code To Implement= ==Sequential Sum Scanner== {{CodeToImplement|SequentialSumScanner|sumScan|scan.exerise}} {{Sequential|public int[] sumScan(int[] data)}} {{Warning|Do NOT...") |
|||
Line 14: | Line 14: | ||
CPL: N | CPL: N | ||
+ | |||
+ | =Testing Your Solution= | ||
+ | {{TestSuite|_SequentialScannerTestSuite|scan.group}} |
Latest revision as of 20:39, 13 March 2023
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
Testing Your Solution
class: | _SequentialScannerTestSuite.java | |
package: | scan.group | |
source folder: | testing/src/test/java |