Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
This is a slightly different problem (matrices are rectangular and main results is when outer dimension is small) but may be helpful cs.cmu.edu/afs/cs/user/dwoodruf/www/lw21.pdf