Indus Novateur interview question

basics not a intermediate ques