Endorphina interview question

What will be your solution in such (describing problem) problem?