• + 0 comments

    I came to the same solution in TypeScript, except without serialising the matrix s. I think this is the only comprehensive solution.