2013年3月9日

[leetcode] ZigZag Conversion *

摘要: 1 /* 2 * Just find the rule; Do not forget to check 3 * special cases (e.g. nRows = 1 ...) 4 * 5 * @author: HZT 6 * @date: 2013-3-9 7 */ 8 9 #include <iostream>10 #include <string>11 using namespace std;12 13 class Solution {14 public:15 string convert(string s, int nRows) {16 //... 阅读全文

posted @ 2013-03-09 00:21 龙豆 阅读(360) 评论(0) 推荐(0) 编辑

导航