J.P. Morgan Interview Question

Probability and coding , linear algebra based