Sharp Corporation interview question

OOPS