read

In one interview I had to solve the Newborn babies problem. I did already know the correct answer to this problem, because I have solved similar problem before (the question was: you are the only coffin-maker in your country, how many coffins would you have to craft daily to satisfy the nations needs?). This part of the interview was rather short - I have informed my interviewer I’ve had already solved similar problem before and after I’ve described my solution I got new task to solve.

Question:

Given this programming language solve this task

Have fun solving this as I had on the interview. PS: Thanks to the Salsita guys for the opportunity to solve this.

Blog Logo

Jirka Kulovany


Published

Image

Jirka Kulovany

Occasional blog posts

Back to Overview