Engineers Interview Questions

843,473 engineers interview questions shared by candidates

Suppose you have a huge collection of integer values, in an array or a list or some similar data structure. Now suppose there are exactly two appearances of all integers, except one. In other words, each integer appears twice, in some random order, except 1. How would you find that 1 integer.
avatar

Software Engineer Intern

Interviewed at Viasat

3.7
Nov 11, 2016

Suppose you have a huge collection of integer values, in an array or a list or some similar data structure. Now suppose there are exactly two appearances of all integers, except one. In other words, each integer appears twice, in some random order, except 1. How would you find that 1 integer.

Viewing 2941 - 2950 interview questions

Glassdoor has 843,473 interview questions and reports from Engineers interviews. Prepare for your interview. Get hired. Love your job.