For the following logic circuit, the truth table is [2023]

(4)

Here, NAND gate is followed by two NOT gates.
By using A = 0, B = 0, we get Y = 0
A = 0, B = 1, Y = 1
A = 1, B = 0, Y = 1
A = 1, B = 1, Y = 1
This corresponds to OR gate.