Microsoft Interview Question

How to pass the question?