矩阵的“之"字遍历ZigZag打印
题目描述给一个m*n矩阵,请以“之"字型进行遍历输出,{ {1,2,3,4}, {5,6,7,8}, {9,10,11,12}, {13,14,15,16} }输出结果为:1 2 5 9 6 3 4 7 10 13 14 11 8 12 15 16{ {1,2,3,4}, {5,6,7,8}, {9,10,11,12} }输出:1 2 5 9 6 3 4 7 10 11 8 ...