Strategy puzzles




Easy Strategy

An Egg breaks only if dropped from above a threshold floor, within this 100 story building. Every time you drop the egg, it is counted an attempt. You are given two eggs, find an algorithm to deduce the threshold floor, with minimum number of attempts in worst case!

Hint
Answer
Solution
Source: Quant Interview
Enable Like and Comment


Easy Strategy

A certain town comprises of 100 married couples. Some husbands secretly cheat on their wives. All wives know about the nature of every husband except their own. When a wife concludes that her husband cheated, she kicks her husband into the street at midnight. All husbands remain silent about their secret. One day, the mayor of the town announces to the whole town that there is at least 1 cheating husband in the town. After announcement, no one talks, waiting for someone to get kicked. Till 9th night from announcement, no husband was kicked, but on the 10th night, some husbands got kicked out simultaneously. How many are they?

Hint
Solution
Source: Common
Enable Like and Comment


Easy Strategy

So there's this king. Someone breaks into his wine cellar where he stores 1000 bottles of wine. This person proceeds to poison one of the 1000 bottles, but gets away too quickly for the king's guard to see which one he poisoned or to catch him.

The king needs the remaining 999 safe bottles for his party in 4 weeks. The king has 10 prisoners who deserve execution. The poison takes about 3 weeks to take effect, and any amount of it will kill whoever drinks it. How can he figure out which bottle was poisoned in time for the party?

Hint
Solution
Source: Common
Enable Like and Comment


Medium Strategy

Suppose you have a hotel which has one floor with infinite number of rooms in a row and all of them are occupied.
1) A new customer wants to check in, how will you accommodate her?
2) What if infinite number of people want to check in, how will you accommodate them?
3) Suppose infinite number of buses arrive at the hotel, each having infinite number of people, how will you accommodate them?

Hint
Solution
Source: CSEblog
Enable Like and Comment


Medium Strategy

After the revolution, each of the 66 citizens of a certain city, including the king, has a salary of 1. King cannot vote, but has the power to suggest changes - namely, redistribution of salaries. Each person's salary must be a whole number of dollars, and the salaries must sum to 66. He suggests a new salary plan for every person including himelf in front of the city. Citizens are greedy, and vote yes if their salary is raised, no if decreased, and don't vote otherwise. The suggested plan will be implemented if the number of "yes" votes are more than "no" votes. The king is both, selfish and clever. He proposes a series of such plans. What is the maximum salary he can obtain for himself?

Hint
Answer
Solution
Source: P. Winkler
Enable Like and Comment




© BRAINSTELLAR