Sr Software Engineer Interview Questions

67,402 sr software engineer interview questions shared by candidates

Given an array of integers (arr[int]) and a target (int). I want you to return the indices of 2 numbers sum. For example, given the array [2, 7, 11, 15] and a target of 9, the function should return [0, 1], indicating that the numbers at indices 0 and 1 (i.e., 2 and 7) add up to the target sum of 9.
avatar

Senior Software Engineer

Interviewed at Prediktive

4.6
Mar 18, 2024

Given an array of integers (arr[int]) and a target (int). I want you to return the indices of 2 numbers sum. For example, given the array [2, 7, 11, 15] and a target of 9, the function should return [0, 1], indicating that the numbers at indices 0 and 1 (i.e., 2 and 7) add up to the target sum of 9.

Viewing 2241 - 2250 interview questions

Glassdoor has 67,402 interview questions and reports from Sr software engineer interviews. Prepare for your interview. Get hired. Love your job.