Intel Corporation Interview Question

1 coding questions 2 sum in array