class Solution { public String convert(String s, int numRows) { if(numRows==1) return s; int divisor=(numRows-1)*2; StringBuilder sb=new StringBuilder(); for(int i=0;i
本文共 259 字,大约阅读时间需要 1 分钟。
class Solution { public String convert(String s, int numRows) { if(numRows==1) return s; int divisor=(numRows-1)*2; StringBuilder sb=new StringBuilder(); for(int i=0;i
转载于:https://www.cnblogs.com/asuran/p/7572574.html