Ugyon Foundation interview question

Question # 2