Barclays interview question

linear algebra prob and stat dynamic programming