Clarivate interview question

Write a one reusable method