AMD interview question

A question about digital logic gates.