Valeo Interview Question

Sum of integers in coding