R
R
random2015-09-11 10:10:29
Java
random, 2015-09-11 10:10:29

What is the answer of the logical problem?

Hello, I recently had an interview for a Java Developer vacancy, they asked me a task that sounds something like this: "There is a sheet of paper on the table and the number of papers increases every day, on which day will half of the papers stand?"
Well, of course, I didn’t answer, they voiced the answer to me, but I don’t understand why.
What are your solutions to this problem, if possible with an explanation?
UPDATE: answer is n-1, where n is the number of days for which the paperwork is filled out (A4)
Example: let's say we have a paper filled out in 20 days, then half of the paperwork will be on the 19th day

Answer the question

In order to leave comments, you need to log in

5 answer(s)
K
kazmiruk, 2015-09-11
@demon123

The task is quite banal for interviews (they asked the same in Yandex a couple of years ago, only about a glass and multiplying bacteria, but it doesn’t change the essence). Error in setting the task. If the question itself clearly sounded that every day the amount of paper doubles, then the answer is quite logical that half will be on n-1 days, since the number of papers on the last day N is equal to x, and on the penultimate day x / 2 (so that when doubling it turned out to be x).

D
Dmitry Kovalsky, 2015-09-11
@dmitryKovalskiy

Excuse me, half of what? from the world stock of A4 sheets? Add an answer - perhaps we can trace the entire logical chain.
UPD: Go to another company and forget about this one. Even Google scored on these questions, but we can see someone else believes. With such a wording of the test task at the interview, it would be scary for me to read their formulations for work tasks.

C
Cirick, 2015-09-11
@Cirick

I would answer that every day a stack of papers is theoretically half of something)))
PS Or maybe half of the papers will be every previous day.

I
Ivan, 2015-09-11
@LenLord

It means the answer, what is 1 day before the full amount or not?

O
Odyssey Nemo, 2015-10-07
@odissey_nemo

Is there a sheet of paper on the table? Let them show how they put a sheet of paper on any edge, the rest is nonsense.
PS I assume that the interview was at the State Circus.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question