Pregunta de entrevista de Barclays

1 coding question and some HR question