DRW Interview Question

linear algebra and probability problems, easy~medium difficulty