算法
一些算法题,主要记录来自力扣,面试中遇到的算法题以及一些问题
8分 essay
将一个给定字符串 s 根据给定的行数 numRows,以从上往下、从左到右进行 Z 字形排列。 比如输入字符串为 "PAYPALISHIRING" 行数为 3 时,排列如下:
##以一个Z字型排列
P A H N
A P L S I I G
Y I R
##最后输出
PAHMAPLSIIGYIRFumadocs CLI
A command line tool to install UI components and automate things, useful for customizing layouts.