A logic gate circuit has two inputs \( A \) and \( B \) and output \( Y \). The voltage waveforms of \( A \), \( B \) and \( Y \) are shown below: The logic gate circuit is:
AND gate
OR gate
NOR gate
NAND gate