TikTok interview question

Matrix Transpose leetcode problem coding