码迷,mamicode.com
首页 >  
搜索关键字:zigzag    ( 480个结果
[LeetCode] Zigzag Iterator
Problem Description:Given two 1d vectors, implement an iterator to return their elements alternately.For example, given two 1d vectors:v1 = [1, 2]v2 =...
分类:其他好文   时间:2015-09-14 15:29:18    阅读次数:123
[LeetCode] Zigzag Conversion
The key challenge to this problem is to make the code clean. This post has shared a nice example, which is rewritten below in C++.class Solution {publ...
分类:其他好文   时间:2015-09-14 15:18:51    阅读次数:155
[LeetCode] Zigzag Iterator
Zigzag IteratorGiven two 1d vectors, implement an iterator to return their elements alternately.For example, given two 1d vectors:v1 = [1, 2]v2 = [3, ...
分类:其他好文   时间:2015-09-14 13:57:49    阅读次数:172
LeetCode (6): ZigZag Conversion
【题目】LeetCode(6): ZigZag ConversionURL: https://leetcode.com/problems/zigzag-conversion/【描述】The string"PAYPALISHIRING"is written in a zigzag pattern on...
分类:其他好文   时间:2015-09-14 07:02:48    阅读次数:192
[LeetCode#281] Zigzag Iterator
Problem:Given two 1d vectors, implement an iterator to return their elements alternately.For example, given two 1d vectors:v1 = [1, 2]v2 = [3, 4, 5, 6...
分类:其他好文   时间:2015-09-14 01:48:28    阅读次数:151
leetcode-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 fo...
分类:其他好文   时间:2015-09-13 17:19:51    阅读次数:184
leetcode [006] : 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 ...
分类:其他好文   时间:2015-09-13 11:50:43    阅读次数:161
[LeetCode]题解(python):006-ZigZag Conversion
题目来源:https://leetcode.com/problems/zigzag-conversion/题意分析: 这道题目是字符串处理的题目。输入一个字符串和一个数字,将字符串填入倒Z形输入字符串,然后按照列读取字符,得到一个新的字符,输出这个字符。例如:字符串"PAYPALISHIRING",...
分类:编程语言   时间:2015-09-10 19:08:53    阅读次数:189
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 fo...
分类:其他好文   时间:2015-09-10 15:40:36    阅读次数:171
LeetCode 6 ZigZag Conversion 模拟 难度:0
https://leetcode.com/problems/zigzag-conversion/The string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may...
分类:其他好文   时间:2015-09-01 21:23:47    阅读次数:230
480条   上一页 1 ... 22 23 24 25 26 ... 48 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!