Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!

# analitical question

anarkali perera
Ranch Hand
Posts: 237
i went for an interview.they ask me there are 9 bolls and one boll's weight is lessthan other eight.And there is a balance also.He ask me to find the less weight boll using two times?

can anyone tell me reference to place find these type of analitical questions?

Sandeep Awasthi
Ranch Hand
Posts: 597
3+3+3

left side group1 right side group2
caseI
if both are unequal then you find out group of three which contains target , lets say it is group1.
Now from group left side one , right side one. If they are equal, then remaining one is less weight, otherwise you can see on balance.
caseII. Both are equal, then group3 contains target.
again from group left side one , right side one. If they are equal, then remaining one is less weight, otherwise you can see on balance

Campbell Ritchie
Sheriff
Posts: 48981
60
This sounds like a puzzle question like "how do you weigh an elephant?" If you have seen it before, it is very easy. Such an interview is as much a test of memory as of intelligence.

Sandeep Awasthi
Ranch Hand
Posts: 597
You can call them puzzles but these questions are designed to check how your brain can work in different situations. Not sure.

But in India these questions are asked to entry level developers. I have interest in these puzzles even today because I enjoy solving them.

I agree if you practice, they are easy for anyone.

Mark Herschberg
Sheriff
Posts: 6037
Campbell Ritchie wrote:This sounds like a puzzle question like "how do you weigh an elephant?" If you have seen it before, it is very easy. Such an interview is as much a test of memory as of intelligence.

It's actually a slightly different family of questions--of course most interviewers aren't competent enough to know the difference.

The weight question is a bounded math problem. You can mathematically express the question and the solution. Similar questions include a knight's tour, tiling problems, river crossing questions, etc.

The elephant question is open ended and tests your ability to work with unbounded problems requiring creativity to find a solution. Similar questions include moving a mountain, lightbulb questions, and to a lesser extent Feynman numbers.

--Mark

Collin Dugas
Ranch Hand
Posts: 91
I have recently been attending a few interviews and had faced such questions in a well know company.

I got the above mentioned question of finding a less wieghing defective ball from 16 balls. I knew the answer.

Another question was to find a date closest to the given date (lesser than given date) which when represented in a string is a palindrome. The given date was 10022001 (02 Oct 2001).When I started writing the logic to program it he told me to ifnd it manually. Even after 15 minutes and a couple of hints I did not get it

The interviewer was kind enough to explain me the answer and it was based on the logic ofelimination.

Fortunately, I managed to just clear it.

P.S : If anyone can provide me links to such questions I would like to try it out.

Regards

Deepak Bala
Bartender
Posts: 6663
5
P.S : If anyone can provide me links to such questions I would like to try it out.

http://www.careercup.com/

Patricia Samuel
Ranch Hand
Posts: 300
Does anyone know any link for solving the questions like - Identifying data structure in a given design.

avi sinha
Ranch Hand
Posts: 453
anarkali perera wrote:i went for an interview.they ask me there are 9 bolls and one boll's weight is lessthan other eight.And there is a balance also.He ask me to find the less weight boll using two times?

can anyone tell me reference to place find these type of analitical questions?

you can check out Barron GRE book 12th edition or 13th edition.

avi sinha

Campbell Ritchie
Sheriff
Posts: 48981
60
Mark Herschberg wrote:lightbulb questions, and to a lesser extent Feynman numbers.

--Mark
I wouldn't know what a Feynman number is if it bit me in the ankle . . . but in this country "lightbulb questions" means silly riddles of the sort "How many Java programmers does it take to change a lightbulb?"