文件名称:ZigZag-Conversion
介绍说明--下载内容均来自于网络,请自行研究使用
Zigzag:即循环对角线结构(
0 8 16
1 7 9 15 17
2 6 10 14 18
3 5 11 13 19
4 12 20
)
向下循环:nRows
斜角线循环:nRows-2(减去首尾两个端点)
重复-The string PAYPALISHIRING is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)
0 8 16
1 7 9 15 17
2 6 10 14 18
3 5 11 13 19
4 12 20
)
向下循环:nRows
斜角线循环:nRows-2(减去首尾两个端点)
重复-The string PAYPALISHIRING is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ZigZag Conversion.cpp