NVIDIA Interview Question

Draw CMOS circuit of some gates. Write script to identify missing random number.