Developer Interview Questions

268,884 developer interview questions shared by candidates

If you had twelve identical looking-balls except that one weighed more or less than the other 11, and could weigh the balls (or any subset) three times, how can you find the correct ball and whether it weighed more or less?
avatar

Software Developer

Interviewed at JPMorganChase

3.9
Sep 27, 2011

If you had twelve identical looking-balls except that one weighed more or less than the other 11, and could weigh the balls (or any subset) three times, how can you find the correct ball and whether it weighed more or less?

The first Jedi question was this: given an unsorted array of numbers, like [1, 3, 5, 4, 2], write a function that takes an integer and returns true if there's any pair of numbers in that array that can be summed up to the input integer.
avatar

IOS Developer

Interviewed at Meta

3.6
Oct 19, 2017

The first Jedi question was this: given an unsorted array of numbers, like [1, 3, 5, 4, 2], write a function that takes an integer and returns true if there's any pair of numbers in that array that can be summed up to the input integer.

Viewing 301 - 310 interview questions

Glassdoor has 268,884 interview questions and reports from Developer interviews. Prepare for your interview. Get hired. Love your job.