码迷,mamicode.com
首页 >  
搜索关键字:zigzag    ( 480个结果
[leetcode 6]ZigZag Conversion
1 题目: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 fo...
分类:其他好文   时间:2015-06-05 17:28:07    阅读次数:114
LeetCode【6】. ZigZag Conversion --思路图解与java实现
ZigZag Conversion 一、题目如下:          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 b...
分类:编程语言   时间:2015-06-04 01:05:10    阅读次数:207
[LeetCode] Binary Tree Zigzag Level Order Traversal
To be honest, this problem is designed to let you use stacks. However, I don't. In fact, you only need to keep a flagand switch it between falseandtru...
分类:其他好文   时间:2015-06-03 00:49:58    阅读次数:232
No.6 ZigZag Conversion
No.6 ZigZag ConversionThe string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this patt...
分类:其他好文   时间:2015-06-02 17:21:25    阅读次数:109
[LeetCode][JavaScript]ZigZag Conversion
ZigZag ConversionThe string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern i...
分类:编程语言   时间:2015-05-31 20:02:46    阅读次数:155
LeetCode 103:Binary Tree Zigzag Level Order Traversal
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 ...
分类:其他好文   时间:2015-05-31 09:15:55    阅读次数:113
ZigZag Conversion
public class Solution { public String convert(String s, int numRows) { // http://www.cnblogs.com/springfor/p/3889414.html // 略无聊,就是斜角...
分类:其他好文   时间:2015-05-29 06:12:55    阅读次数:171
【leetcode】ZigZag——easy
zigzag型输出字符串。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 ...
分类:其他好文   时间:2015-05-27 18:37:32    阅读次数:102
leetcode 6 -- ZigZag Conversion
ZigZag Conversion 题目: 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)...
分类:其他好文   时间:2015-05-25 14:42:59    阅读次数:114
480条   上一页 1 ... 28 29 30 31 32 ... 48 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!