Analog Bits Interview Question

PMOS, NMOS passing transistor logic