Collabera interview question

it was a test