Loading...

Transpose Table

A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.

Domain
Python
Difficulty
medium

Problem

A column-oriented storage format requires transposing row-oriented input. Transpose the matrix so rows become columns; the element at [i][j] moves to [j][i]. Assume all rows have the same length.

Practice This Problem

Solve this Python problem with real code execution. DataDriven runs your Python code in a sandboxed Docker environment and grades it instantly.