Programmers Interview Questions

22,502 programmers interview questions shared by candidates

A king has 1000 wine bottles of which 1 is poisoned. If a man drinks the poisoned wine, he will die after hours. Now he has a big party coming up tomorrow. What is the minimum number of prisoners the king would need to feed the wine to, so that he can catch the poisoned bottle.
avatar

Programmer Analyst

Interviewed at EXL Service

3.5
Sep 10, 2012

A king has 1000 wine bottles of which 1 is poisoned. If a man drinks the poisoned wine, he will die after hours. Now he has a big party coming up tomorrow. What is the minimum number of prisoners the king would need to feed the wine to, so that he can catch the poisoned bottle.

Viewing 3411 - 3420 interview questions

Glassdoor has 22,502 interview questions and reports from Programmers interviews. Prepare for your interview. Get hired. Love your job.