Sollicitatievraag bij University of Leicester

How would you solve X problem in R