Indus Novateur Interview Question

basics not a intermediate ques