📜 ⬆️ ⬇️

interesting tasks at the interview

Hey. I was on an interview in a well-known company and solved 4 logic problems, which I want to publish here. I do not know how ethical it is to write the name of the office, although the office is too well known to be called :))
tasks are:
1. In the language of the “Geese” of one African tribe the words are written down the following numbers. The language is real, real acting.
57 emerongo etano na itano na ibere
82 emerongo etano na etato na ibere
230 amagana abere na emerongo etato
308 amagana atato na itano na itato
705 amagana atano na abere na itano

Write in this language 28 and 837.

2. From the chessboard 8x8 cells cut the lower left and upper right cells. Is it possible to cover this chessboard (including cutouts) with 2x1 square parquet flooring? Parquet flooring can not overlap and protrude beyond the limits of the chessboard. The answer must be clearly proved.
')
3. Is it possible to order a set of seven such weights, so that they can weigh any gold bar weighing from 1 gram to 1 kilogram? A gold bar weighs an integer number of grams, weights can be put on both scales.
(my note: the text is not literal, but I think I conveyed the meaning): i.e. no matter how much the gold bar weighs in the range from 1 to 1000g, you need to know its exact weight with this set of weights)

4. A person has a chain of seven consecutive links, and he wants to check into a hotel for a week. The owner of the hotel requires a fee in the amount of 1 ring from the chain for 1 day, but on the condition that every day the owner should have as many rings as the client has lived for days in the hotel. Can a person move into a hotel if he agrees to make only one cut in the chain of rings?

for all - 1 hour.

Source: https://habr.com/ru/post/86518/


All Articles