#194. scoresSpecial
scoresSpecial
Background
Description
Given two arrays, A and B, of non-negative int scores. A "special" score is one which is a multiple of 10, such as 40 or 90. Return the sum of largest special score in A and the largest special score in B. To practice decomposition, write a separate helper method which finds the largest special score in an array. Write your helper method after your scoresSpecial() method in the JavaBat text area.
Format
Input
Output
Samples
[12 10 4] [2 20 30]
40
[20 10 4] [2 20 10]
40
[12 11 4] [2 20 31]
20
Limitation
1s, 1024KiB for each test case.