Despite not encountering any major problems with Java, I cannot say so regarding the OCaml programming language. I am supposed to create a function subMat
which for two matrices, checks if matrix A is a submatrix of matrix B, and if so - returns true - val subMat: int list list -> int list list -> bool = <fun>
I would kindly appreciate any help, since I really don't know how to tackle the problem.