Chase interview question

coding question longest comm prefix, matrix multiplication