Grazitti Interactive Interview Question

Airt an array and find the sum