Optiv interview question

They give an assignment to solve