Pregunta de entrevista de Amazon

Write code to Implement a circuit board with logical gates.