Pregunta de entrevista de Microsoft

Use binary expression to solve the above question