Microsoft job interview task that gives candidates wet hands

IT giants like Google and Microsoft are known for placing special demands on job seekers. For example, candidates are tested not only by questions on the profile specialty, but also assess their ability to think, offering complex problems on logic.



GettyImages Unfortunately, no one knows all the questions that are asked in interviews at Google. In addition, they are regularly updated. But there's a way.



GettyImages Independently find non-standard solutions you will learn the problems from our article.

You have an endless reserve of water and two buckets: one for 5 liters, the other for 3. We need to measure exactly 4 liters. How will you do that?

6919191914

Imagine that you overcame all the obstacles in the game quest and found yourself at the finish line. It remains only to choose the right door between the two: one leads to untold riches, the second to an infinite labyrinth. Every door has a sentry.



GettyImages And each of them knows which door holds the wealth. One guard always tells the truth, the other lies. You don't know which one is a liar. But you can ask one of the guards before he decides which door he will open.

On the table there are 8 balls of the same size, but 1 heavier than the rest. How do you know which one weighs more if you only have 2 weighing attempts?



GettyImages Question from Adobe You Have 50 Motorcycles Each of them you filled with fuel, which is enough for a 100 km drive. How far can you get on those 50 motorcycles? Keep in mind that they are all in one place.



GettyImages Answers to questions
  1. First, fill a 5-liter bucket with water and pour some of the water into a 3-liter one. Then you have 3 liters in a smaller bucket and 2 in a larger one. Free the 3-liter bucket from the water and fill it with 2 liters, which are left in the 5-liter.

    GettyImages

    Then fill the large bucket again and pour the liquid from it into a 3-liter one. Since there are already 2 liters, then if you add a liter of a large one, exactly 4 liters will remain in it.

  2. Ask each of the sentries the following question: “What door does the other sentry judge to lead to treasure?” If he asks someone who never lies, he will pass on the information of the liar, pointing to the door to the maze. If he asks a question to the lying watchman, again, he will know which door is the labyrinth. He will lie about the door that the watchman will point to.
  3. Divide the balls into three parts: two groups of three balls and one of two. Then place two threes on different scales. If one of the groups outweighs, choose any two balls from this three and weigh. In this case, the heavy ball will either outweigh or the bowls will be compared. If the balls weigh the same, the one that remains is heavy. Well, if there's no heavy ball in these groups, then it's one of the two that you put down in the beginning.


    GettyImages
  4. One of the answers. First, move all motorcycles to 50 km. Then transfer the fuel from half the vehicles to the other half. Then there are 25 motorcycles with a full fuel tank. Repeat the procedure in 50 km. At this rate it is possible to reach the mark of 350 km. Unless, of course, we take into account the fuel of the motorcycle, which was left on the side of the 25 in half.


Well? Are you ready to start working at a Silicon Valley company? Our complex logic tasks will help to spend time with benefit. After all, ingenuity helps to search for unusual, interesting and simple solutions, achieving results not only in the game, but also in real life in the shortest possible way.

The article and the preview used photos.