OpenText interview question

2 questions based on dsa