LeetCode打卡(五)ZigZag Conversation

Problem: Solution: Code: class Solution { public String convert(String s, int numRows) { if (numRows == 1) return s; StringBuilder ret = new StringBuilder(); int n = s.le
相關文章
相關標籤/搜索