Jadu interview question

I was asked to do a code review