Side interview question

It was a writing test