Junior Java Developer Software Engineer Interview Questions

3,912 junior java developer software engineer interview questions shared by candidates

2.Given an array of integers, you have to find all pairs of elements in this array such that whose sum must be equal to a given number. For example, if {4, 5, 7, 11, 9, 13, 8, 12} is an array and 20 is the given number, then you have to find all pairs of elements in this array whose sum must be 20. In this example, (9, 11), (7, 13) and (8, 12) are such pairs whose sum is 20.
avatar

Junior Java Developer

Interviewed at Synergy Technology Services

3.6
Sep 9, 2019

2.Given an array of integers, you have to find all pairs of elements in this array such that whose sum must be equal to a given number. For example, if {4, 5, 7, 11, 9, 13, 8, 12} is an array and 20 is the given number, then you have to find all pairs of elements in this array whose sum must be 20. In this example, (9, 11), (7, 13) and (8, 12) are such pairs whose sum is 20.

Viewing 2651 - 2660 interview questions

Glassdoor has 3,912 interview questions and reports from Junior java developer software engineer interviews. Prepare for your interview. Get hired. Love your job.