Intel Corporation Interview Question

Equation of sum for half adder and half adder. Nand CMOS implementation