Software Interview Questions

551,308 software interview questions shared by candidates

There is a king. He has 1000 wine bottles. One of them is poisonous. poison shows its effect on 31st day after the intake. King has a party scheduled on the 31st day where he has to serve wine. what is the minimum number of soldiers that he would require to identify which bottle is poisonous before the party. Condition: each soldier can drink the combination formed from any number of bottles.
avatar

Software Intern

Interviewed at Opera Solutions

3
Sep 28, 2012

There is a king. He has 1000 wine bottles. One of them is poisonous. poison shows its effect on 31st day after the intake. King has a party scheduled on the 31st day where he has to serve wine. what is the minimum number of soldiers that he would require to identify which bottle is poisonous before the party. Condition: each soldier can drink the combination formed from any number of bottles.

given a vector of strings of length n with each word having a length of m on average, group all anagrams into a cluster. Do this for the case that n >>>>>> m and in the most efficient way possible. Assume extra space allowed.
avatar

Software Engineer

Interviewed at X

3
Oct 18, 2013

given a vector of strings of length n with each word having a length of m on average, group all anagrams into a cluster. Do this for the case that n >>>>>> m and in the most efficient way possible. Assume extra space allowed.

Viewing 2561 - 2570 interview questions

Glassdoor has 551,308 interview questions and reports from Software interviews. Prepare for your interview. Get hired. Love your job.