I was asked this coding question for SE2 role with an Intuit.
Input: "5 7 8 9 \n 8 7 6 \n 4 5 6"
{14, 14, 10} - Return sum of all the numbers in an array
Output: 38
How would you approach solution for this problem. Any suggestions would be appreciated.