[leetcode]ZigZag Conversion...
分类:
其他好文 时间:
2014-10-16 13:38:52
阅读次数:
251
Problem: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...
分类:
其他好文 时间:
2014-10-12 02:29:07
阅读次数:
187
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 fo...
分类:
其他好文 时间:
2014-10-07 15:21:03
阅读次数:
236
Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level and alternate between).
For example:
Given binary ...
分类:
其他好文 时间:
2014-10-06 16:46:00
阅读次数:
165
题目: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...
分类:
其他好文 时间:
2014-09-17 23:08:22
阅读次数:
291
Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level and ...
分类:
其他好文 时间:
2014-09-16 15:32:10
阅读次数:
243
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)
P A H N
A P L S I ...
分类:
其他好文 时间:
2014-09-13 22:52:36
阅读次数:
209
方法1: 刚开始正着方三个,然后反着放两个,正着放两个。直到结束。(优)
方法二: 类似方法一,不过存下每个位置的字符应该放的地方。然后依次读入。
分类:
其他好文 时间:
2014-09-09 10:43:08
阅读次数:
142
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 ...
分类:
其他好文 时间:
2014-09-07 21:07:35
阅读次数:
247