Sollicitatievraag bij Clover

General algorithm question with efficiency accounted for