Pergunta de entrevista da empresa NVIDIA

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