Intel Corporation interview question

1 coding questions 2 sum in array