TeKnowledge interview question

Interesting situation with a client