OkCupid Interview Question

Performant matrix transposition.