transpose-index-identity

Status: IN

The output of `transpose` satisfies `result[j][i] == matrix[i][j]` for all valid `(i, j)`, achieved by swapping the outer/inner loop indices in a nested list comprehension.

Source: entries/2026/06/06/transpose-matrix-solution.md

JSON