Citadel interview question

Problem solving in hardware computation question.