Pergunta de entrevista da empresa Owlstone Medical

How do you optimise the speed of your solution (of coding exercise)?