I have designed the following circuit to implement CMOS logic of:
\$\text{out}=\overline{(a+b).\overline{c}+e.(\overline{f}+\overline{g})}\$
I’m looking for the optimal circuit with the minimum number of transistors, is there any better implementation?