Bitlogic interview question

My technical interview was not going good.