OpenText interview question

coding