码迷,mamicode.com
首页 >  
搜索关键字:zigzag    ( 480个结果
【树】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
分类:其他好文   时间:2016-02-07 02:12:37    阅读次数:211
Lintcode: Matrix Zigzag Traversal
Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in ZigZag-order. Have you met this question in a real intervie
分类:其他好文   时间:2016-02-01 09:37:05    阅读次数:111
Binary Tree Zigzag Level Order Traversal -- LeetCode
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
分类:其他好文   时间:2016-01-29 08:43:45    阅读次数:165
leetcode笔记:ZigZag Conversion
这道题是就是原来的字符串的元素与锯齿化后的字符串的元素之间的关系...
分类:其他好文   时间:2016-01-19 10:41:29    阅读次数:165
LeetCode - 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 a...
分类:其他好文   时间:2016-01-10 11:40:19    阅读次数:129
ZigZag Conversion leetcode
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...
分类:其他好文   时间:2016-01-06 00:09:07    阅读次数:206
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...
分类:其他好文   时间:2016-01-02 22:34:30    阅读次数:218
leetcode 6. 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-12-28 10:31:01    阅读次数:117
Leetcode: Zigzag Iterator
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]By call...
分类:其他好文   时间:2015-12-26 08:33:03    阅读次数:192
LeetCode 6 ZigZag Conversion(规律)
题目来源:https://leetcode.com/problems/zigzag-conversion/The string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (yo...
分类:其他好文   时间:2015-12-25 20:59:49    阅读次数:128
480条   上一页 1 ... 19 20 21 22 23 ... 48 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!