Peerless-AV interview question

How to deal with the problem?