NVIDIA interview question

Design an inverter using digital logic Triangle leetcode Q