Intuit, Recently Asked Online Assessments in 2026 | Bash: Array Sum

Intuit · Question · Posted Apr 2026

Bash: Array Sum Problem Statement: Given an array of strings, add all the numeric values within the array and print the sum to stdout. If there are no numeric values, print 0. Note: The sum will not exceed 7,000,000. Example: my_array = ["First", "2", "3rd", "4"] The array_sum function should return 6 because 2 + 4 = 6. Sample Case 0 Sample Input For Custom Testing Sample Input For Custom Testing     Abc 20 g231 10 e Sample Output ...

The full answer & interview discussion are available to premium members.

Log in Create a free account