题目: 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 ...
分类:
其他好文 时间:
2016-05-31 06:30:08
阅读次数:
319
1.Conversion Function 转换函数 class Fraction{ public: operator double() const { //转换不可能改变类里的成员,通常加上const return (double)(m_numerator / m_denominator); }/ ...
分类:
编程语言 时间:
2016-05-30 23:05:39
阅读次数:
354
1021 - Painful Bases PDF (English) Statistics ForumTime Limit: 2 second(s) Memory Limit: 32 MBAs you know that sometimes base conversion is a painful ...
分类:
其他好文 时间:
2016-05-30 21:22:04
阅读次数:
229
题目链接:https://leetcode.com/problems/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 ...
分类:
其他好文 时间:
2016-05-30 15:14:26
阅读次数:
110
启动PL/SQL Developer 报字符编码不一致错误 Database character set (AL32UTF8) and Client character set (ZHS16GBK) are different.Character set conversion may cause u ...
分类:
数据库 时间:
2016-05-29 15:12:44
阅读次数:
265
今天写hibernate时候遇到一些异常 代码: 出现异常情况: 出现以上原因是Session关闭 如果不是使用的SessionFactory.getSession()来获得Session。 而是使用SessionFactory.getCurrentSession()方法来获得Session时,当事 ...
分类:
数据库 时间:
2016-05-29 14:58:02
阅读次数:
368
转载请注明出处:http://blog.csdn.net/crazy1235/article/details/51471280Subject
出处:https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/
Given a binary tree, return the zigzag level ord...
分类:
其他好文 时间:
2016-05-28 13:05:27
阅读次数:
220
题目链接: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 want to display this pattern in a fix...
分类:
其他好文 时间:
2016-05-27 12:50:47
阅读次数:
129
1 /** 2 * Definition for a binary tree node. 3 * struct TreeNode { 4 * int val; 5 * TreeNode *left; 6 * TreeNode *right; 7 * TreeNode(int x) : val(x), ...
分类:
其他好文 时间:
2016-05-17 22:37:37
阅读次数:
156
题目来源 https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/ Given a binary tree, return the zigzag level order traversal of its nodes ...
分类:
编程语言 时间:
2016-05-17 17:44:57
阅读次数:
187