RunProf interview question

it was a task in QA