Qualcomm Interview Question

Use MUX to design logic gates.