#### MajorDomo

##### Cat Can't Scratch It

- Joined
- May 9, 2000

- Messages
- 75,451

Job community Glassdoor.com has published the 25 oddest interview questions of 2010, based on more than 80,000 questions shared by candidates on its Web site

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- Thread starter MajorDomo
- Start date

- Joined
- May 9, 2000

- Messages
- 75,451

Job community Glassdoor.com has published the 25 oddest interview questions of 2010, based on more than 80,000 questions shared by candidates on its Web site

- Joined
- Nov 24, 2007

- Messages
- 574

How do you weigh an elephant without using a weigh machine?" - asked at IBM, Software Engineer position

I'd have fun with that question!

Easy, tell the customer to buy an iphone 4

- Joined
- Feb 1, 2006

- Messages
- 8,878

Most of those are pretty easy as I read them but I am sure the pressure of the job interview could skew things a great deal.

And they misspelled Houston...

that was the first thing i noticed.....whoever submitted that and then the guy who was responsible for editing at the yahoo website should both have a few questions asked of them starting with, "How do you spell Houston?"

- Joined
- May 15, 2010

- Messages
- 18,205

Bizarre magazine is great. I'd totally do photos for them

Or 1. Since that technically would be the minimum amount needed.

was just explaining that to my girlfriend that the higher or lower is a red herring for the most part. Minimum number of guesses would be 1.

You don't think they're looking for a non-trivial answer?was just explaining that to my girlfriend that the higher or lower is a red herring for the most part. Minimum number of guesses would be 1.

You don't think they're looking for a non-trivial answer?

In short, no, I doubt they are simply looking to test your mathematical abilities as much as how you digest and analyze a problem.

- Joined
- Jun 24, 2008

- Messages
- 1,351

You have 8 pennies, 7 weigh the same, one weighs less. You also have a judges scale. Find the one that weighs less in less than 3 steps.

binary search. but that would require 3 steps and not less than 3.

You think there is more skill involved analyzing this problem and saying the answer is 1 than analyzing it and understanding why the answer is 10?In short, no, I doubt they are simply looking to test your mathematical abilities as much as how you digest and analyze a problem.

You take 2 out and then measure the 6.binary search. but that would require 3 steps and not less than 3.

"There are three boxes, one contains only apples, one contains only oranges, and one contains both apples and oranges. The boxes have been incorrectly labeled such that no label identifies the actual contents of the box it labels. Opening just one box, and without looking in the box, you take out one piece of fruit. By looking at the fruit, how can you immediately label all of the boxes correctly?" asked at Apple, Software QA Engineer position"

Easy, tell the customer to buy an iphone 4

You're hired you lucky bastard !!!

- Joined
- Jun 24, 2008

- Messages
- 1,351

You take 2 out and then measure the 6.

lol, thanks

You think there is more skill involved analyzing this problem and saying the answer is 1 than analyzing it and understanding why the answer is 10?

You are missing the point. Not going to bother further explaining it to you.

I do like that for those software engineer/programmer jobs, they actually had math questions, because that makes perfect sense. Most of my interviews involved questions in no way related to the job I was trying to get asked by people who knew nothing about that job or field, so at least these questions are more or less related to the job.

How do you weigh an elephant without using a weigh machine?" - asked at IBM, Software Engineer position

The didn't mention anything about not being able to measure volume.

Solvable by water displacement.

The guy that tries to work out the equation isn't smart enough, and the guy that says 1 is "that guy"... who's either too lazy, doesn't know the answer, or just trying to be a smartass..

These are all really easy questions imo.. the hardest part for me would be trying to picture the train&bird problem in my head without a pen & paper.

- Joined
- Aug 3, 2004

- Messages
- 19,787

The didn't mention anything about not being able to measure volume.

Solvable by water displacement.

my immediate thought, but you'd also have to find the density by seeing which liquids it sinks/floats in.

You can also put it in a truck and see how much your gas-bill comes out to after a mile.

weight -> mass -> force -> energy -> fuel -> money

You are missing the point. Not going to bother further explaining it to you.

Actually, you're missing the point. They're looking for someone that understand what a "binary search" means, and how to apply it.

Okay, go ahead and give that answer during an interview and enjoy not getting the job.You are missing the point. Not going to bother further explaining it to you.

I'll never understand how questions like these are considered bizarre on any level. They seem to be pretty on point with what you're expected to be able to do in the position.

it was for a programming position and the interviewer was not asking a trick question where the answer is 1.

and this directly relates to being able to do a binary search, which hopefully most programmers can do.

well admittedly I am not a programer, but if someone asks me what the minimum number of guesses it will take to guess a number between 1 and 1,000 or 1 in 10,000,000 the answer is always going to be one. If they wanted to ask how to do it via binary search well thats a horse of a different color.

From the numbers I've seen I pull in more in a year than most facebook software engineers do so Ill still stand by my answer for the question given.

well admittedly I am not a programer, but if someone asks me what the minimum number of guesses it will take to guess a number between 1 and 1,000 or 1 in 10,000,000 the answer is always going to be one. If they wanted to ask how to do it via binary search well thats a horse of a different color.

No, it won't. The question is asking for a generic solution to the problem. As in, what is the most optimized way to search for a number in a range of sorted numbers? What is the minimum number of guesses it will take that you can guarantee? 1 would just be a lucky guess. If you answer 1, you are wrong. You can never promise you'll find the number in 1 guess, that's impossible (unless the range is also 1). It's a straightforward binary search question - there isn't anything weird about it at all. Maybe to non-programmers it is weird, but it certainly isn't for the position in question.

http://en.wikipedia.org/wiki/Binary_search_algorithm#Number_guessing_game

I'd have fun with that question!

Throw the elephant in a pool and check out how much water gets displaced. Since water is a known value, you can calculate the weigh from that.

Just don't ask me the formula.

No, it won't. The question is asking for a generic solution to the problem. As in, what is the most optimized way to search for a number in a range of sorted numbers? What is the minimum number of guesses it will take that you can guarantee? 1 would just be a lucky guess. If you answer 1, you are wrong. You can never promise you'll find the number in 1 guess, that's impossible (unless the range is also 1). It's a straightforward binary search question - there isn't anything weird about it at all. Maybe to non-programmers it is weird, but it certainly isn't for the position in question.

http://en.wikipedia.org/wiki/Binary_search_algorithm#Number_guessing_game

"given the numbers 1 to 1,000, what is the minimum number of guesses needed to find a specific number if you are given the hint "higher" or "lower" for each guess you make?"

doesnt ask anything like what you say it does. Nowhere in the question does it say I need to do it in the most optimized way and that I need to be able to repeat it. Certainly from a programming standpoint I could see how that could be assumed but it certainly isnt stated. Question asks whats the minimum number of guesses needed.

- Joined
- May 4, 2005

- Messages
- 173

binary search. but that would require 3 steps and not less than 3.

I posted this comment on the article, but I'll paste it here for no reason in particular.

Some may think the "less than three steps" for the penny question is an error, but it isn't.

What you want to do is place three pennies on each side of the scale, which results in the following:

- Both sides are equal, in which case you can discard those six pennies.

- One side weighs more, meaning you would discard those three, and the two set aside.

With the first possibility, you merely weigh the two pennies which were not on the scale. With the second, you simply weigh two of the three pennies, and should be able to figure out which weighs less from there.

Two steps. Less than three.

all of these questions appear to me to be a method of weeding them out.

you may not have to get the questions right, as long as you can give some type of intelligent answer

probably a lot of these are questions you see in IQ tests.

I doubt companies can give an IQ test, I don't think it is illegal to discriminate based on an IQ test

but it is certainly not the type of thing that would attract good applicants.

- Joined
- Jul 21, 2007

- Messages
- 4,786

Actually, you're missing the point. They're looking for someone that understand what a "binary search" means, and how to apply it.

First thing that popped into my head on that one was "bubble sort"

"given the numbers 1 to 1,000, what is the minimum number of guesses needed to find a specific number if you are given the hint "higher" or "lower" for each guess you make?"

doesnt ask anything like what you say it does. Nowhere in the question does it say I need to do it in the most optimized way and that I need to be able to repeat it. Certainly from a programming standpoint I could see how that could be assumed but it certainly isnt stated. Question asks whats the minimum number of guesses needed.

You're not a software developer, so you don't even remotely have the sense or understanding what they're asking for in a software position. Instead of waving your e-penis and flaunting your credentials, you could just admit that you're wrong and accept that people that have actually taken many software engineering interviews know what the question is asking.

- Joined
- Jan 17, 2007

- Messages
- 6,940

Throw the elephant in a pool and check out how much water gets displaced. Since water is a known value, you can calculate the weigh from that.

Just don't ask me the formula.

I didn't see this post but I had the same idea when I read this question...

My other idea was to stick it on a semi and drive it through one of those weigh stations with / without the elephant on and find the difference... although that's kinda of using a scale.

I didn't see this post but I had the same idea when I read this question...

My other idea was to stick it on a semi and drive it through one of those weigh stations with / without the elephant on and find the difference... although that's kinda of using a scale.

If you could use a weighing station, why would you need the semi?

You're not a software developer, so you don't even remotely have the sense or understanding what they're asking for in a software position. Instead of waving your e-penis and flaunting your credentials, you could just admit that you're wrong and accept that people that have actually taken many software engineering interviews know what the question is asking.

from the ones Ive seen in the past (this is hardly a new or revolutionary post as Ive seen them before here on [H]) I know there are plenty of trick questions asked at companies like google.

the way the question was stated I have answered it. If they dont want to hire me as a result Im ok with that. Theres a million better ways they could have worded it to get what is implied, but here we are.

and sorry the E-Peen continues to grow and grow!