Pregunta de entrevista de Barclays

How did you approach the coding problems?