SoCtronics Interview Question

output of given circuit