码迷,mamicode.com
首页 >  
搜索关键字:zigzag    ( 480个结果
33.leetcode6_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 fixe ...
分类:其他好文   时间:2018-02-24 00:56:49    阅读次数:122
AGC017 F - Zigzag
传送门 Time limit : 4sec / Memory limit : 256MB Score : 1600 points Problem Statement There are N(N+1)?2 dots arranged to form an equilateral triangle wh ...
分类:其他好文   时间:2018-02-13 16:45:36    阅读次数: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 f ...
分类:其他好文   时间:2018-02-02 21:54:08    阅读次数:126
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 ...
分类:其他好文   时间:2018-01-25 12:05:14    阅读次数:165
Lintcode185 Matrix Zigzag Traversal solution 题解
【题目描述】 Given a matrix ofmxnelements (mrows,ncolumns), return all elements of the matrix in ZigZag-order. 给你一个包含mxn个元素的矩阵 (m行,n列), 求该矩阵的之字型遍历。 【题目链接】 w ...
分类:其他好文   时间:2018-01-21 11:08:59    阅读次数:135
6. ZigZag Conversion
6. ZigZag Conversion 题目 解析 C++ // 6. ZigZag Conversion class Solution_6 { public: string convert(string s, int numRows) { if (numRows vec; //numRows行 ...
分类:其他好文   时间:2018-01-16 14:04:58    阅读次数:156
103. Binary Tree Zigzag Level Order Traversal
"欢迎fork and star:Nowcoder Repository github" 103. Binary Tree Zigzag Level Order Traversal 题目 解析 思路1:对奇数行vector进行反转 思路2:设置标志位,对奇数行取vector对应的元素 思路3:使用d ...
分类:其他好文   时间:2018-01-11 15:58:10    阅读次数:182
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 ...
分类:其他好文   时间:2017-12-31 18:44:55    阅读次数:182
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 ...
分类:其他好文   时间:2017-12-28 21:40:30    阅读次数:140
【java】6. ZigZag Conversion
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 pat ...
分类:编程语言   时间:2017-12-09 20:47:38    阅读次数:234
480条   上一页 1 ... 7 8 9 10 11 ... 48 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!