1. Not care/give two hoots这个习语在英文中表示“根本不在乎”,有种嗤之以鼻,压根儿瞧不上的赶脚。例:I don't care two hoots about having money, as long as I'm happy.只要开心,我根本不在乎有没有钱。2. Big ...
分类:
其他好文 时间:
2014-08-05 18:35:19
阅读次数:
207
Big NumberTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 25649Accepted Submission(s): 11635Proble...
分类:
其他好文 时间:
2014-08-05 10:55:29
阅读次数:
276
题目:Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).For example:Given binary tree....
分类:
编程语言 时间:
2014-08-05 05:18:28
阅读次数:
242
题目:Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root).F....
分类:
编程语言 时间:
2014-08-05 05:18:08
阅读次数:
340
题目: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 ....
分类:
编程语言 时间:
2014-08-05 05:17:38
阅读次数:
311
An example of in-order traversal application. My intuition is that, we have to serialize it into an array and check, but in-order traversal does exact...
分类:
其他好文 时间:
2014-08-05 03:03:48
阅读次数:
241
题目原文:
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it ...
分类:
其他好文 时间:
2014-08-05 00:51:58
阅读次数:
257
BabelfishTime Limit:3000MSMemory Limit:65536KTotal Submissions:32169Accepted:13832DescriptionYou have just moved from Waterloo to a big city. The peop...
分类:
其他好文 时间:
2014-08-05 00:24:18
阅读次数:
336
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 ...
分类:
其他好文 时间:
2014-08-05 00:18:28
阅读次数:
225
这题是今天下午BNU SUMMER TRAINING的C题是队友给的解题思路,用拓扑排序然后就可以了最后是3A其中两次RE竟然是因为:scanf("%d",mm);ORZ以后能用CIN还是CIN吧 QAQ贴代码了: 1 #include 2 #include 3 #include 4 #in...
分类:
其他好文 时间:
2014-08-04 23:57:48
阅读次数:
596