Collabera interview question

mcq with programing and reasoning