Microsoft Interview Question

Use binary expression to solve the above question