Pregunta de entrevista de Barclays

- Dynamic programming coding question in phone screen, along with some expectation-based probability questions