← Microsoft questions

Transpose Matrix in Minimum Iterations

Filed under Microsoft

Given an m x n matrix, return its transpose, which is an n x m matrix where the element at (i, j) in the original becomes (j, i) in the result.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Microsoft questions

Collected from public candidate posts and coding forums. Updated Nov 2026.