Pregunta de entrevista de DRW

linear algebra and probability problems, easy~medium difficulty