Pregunta de entrevista de Tata Consultancy Services

Solve a given Boolean expression?