Pergunta de entrevista da empresa University of Leicester

How would you solve X problem in R