WD Interview Question

design logic gate using BJT, MOSFET