Wise Interview Question

To solve an algorithmical problem.