MISSING VALUE Interview Questions

6,580,096 interview questions shared by candidates

Write a function(int[]) -> int that returns the lowest unassigned integer. For example [] -> 1 (empty set), [1] -> 2, [5, 3, 1] -> 2. Basically just sort the array, iterate, and compare current and previous. If there is a gap then that's your number.
avatar

Software Engineer

Interviewed at Stripe

3.7
Oct 20, 2016

Write a function(int[]) -> int that returns the lowest unassigned integer. For example [] -> 1 (empty set), [1] -> 2, [5, 3, 1] -> 2. Basically just sort the array, iterate, and compare current and previous. If there is a gap then that's your number.

IQ test was online where 50 questions need to be solved it in 12 Mins, where 20 min question should be correct.. Are your serious??? With more then 6 year of exp who invested time for IQ which is actually an apti test.. Guyz you are looking for tech not for IS entrance exam. if a guy has been short-listed by you that is based on his exp not on IQ.
avatar

SOA Consultant

Interviewed at Nagarro

3.9
Dec 20, 2017

IQ test was online where 50 questions need to be solved it in 12 Mins, where 20 min question should be correct.. Are your serious??? With more then 6 year of exp who invested time for IQ which is actually an apti test.. Guyz you are looking for tech not for IS entrance exam. if a guy has been short-listed by you that is based on his exp not on IQ.

Viewing 1741 - 1750 interview questions

Glassdoor has 6,580,096 interview questions. Prepare for your interview. Get hired. Love your job.