Collabera Interview Question

mcq with programing and reasoning