Question d’entretien chez Microsoft

Use binary expression to solve the above question