← TCS questions
CodingReported in a candidate post, Aug 2019

Transpose of a matrix

Filed under TCS · Also reported at Adobe, ADP, Cyber Evolve Technologies, IDfy, Nagarro

Write a function to find the transpose of a given 2D matrix. The transpose of a matrix is formed by swapping its rows with columns.

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 TCS questions

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