Given a binary tree, return thebottom-up level ordertraversal of its nodes' values. (ie, from left to right, level by level from leaf to root).For exa...
分类:
其他好文 时间:
2015-04-27 00:04:32
阅读次数:
179
Remove Duplicates from Sorted Array IITotal Accepted:38480Total Submissions:125235My SubmissionsQuestionSolutionFollow up for "Remove Duplicates":What...
分类:
其他好文 时间:
2015-04-26 19:45:54
阅读次数:
153
Setting up a BroadcastReceiver that gets called unnecessarily can be a drain on system resources. The sample application registers the?BroadcastReceiver?NetworkReceiver?in?onCreate(), and it un...
分类:
其他好文 时间:
2015-04-26 18:27:56
阅读次数:
188
没想到Notepad++学问那么多Ctrl+SCtrl+Alt+SCtrl+Shift+SCtrl+I 分割行Ctrl+J 合并行Ctrl+Shift+Up/Down 上/下移当前行Alt+C 列块编辑Ctrl+UCtrl+Shift+U 转成大写Ctrl+Q 单行注释Ctrl+Shift+Q 区块...
分类:
其他好文 时间:
2015-04-26 18:06:55
阅读次数:
156
题目:You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?代码:class Solutio...
分类:
其他好文 时间:
2015-04-26 18:03:09
阅读次数:
99
目录:Linked List CycleBinary Tree Right Side ViewLinked List Cycle 返回目录Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it...
分类:
其他好文 时间:
2015-04-26 16:43:25
阅读次数:
176
解题报告 之 SOJ 2835 Pick Up Points CFW牛吃草喝水模型 最大流
Description
Recently loy are very interested in playing a funny game. There is a board of n*m grid.
Each grid has one point or not. If two adjacency grids both have one point, someone can
pick them up, and...
分类:
其他好文 时间:
2015-04-26 13:56:16
阅读次数:
136
控制台功能Windows & LinuxMac移动鼠标到控制台Ctrl+2Ctrl+2控制台清屏Ctrl+LCommand+L移动鼠标至第一行HomeCommand+Left移动鼠标至最后一行EndCommand+Right历史记录翻滚Up/DownUp/Down弹出历史记录栏Ctrl+UpComm...
分类:
编程语言 时间:
2015-04-26 13:41:38
阅读次数:
149
redhat5.5双网卡绑定后测试失败,现象为拔线不切换,cat/proc/net/bonding/bond0网卡始终up,ifconfig有与XEN有关的信息;经查与XEN有关系#chkconfigxendoff#chkconfigxendomainsoff#chkconfiglibvirtdoff#rebootOK一切都正常了
分类:
其他好文 时间:
2015-04-26 01:25:33
阅读次数:
150
Lining Up
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 1094 Accepted Submission(s): 307
Problem Description
``How am I ever g...
分类:
其他好文 时间:
2015-04-26 00:03:00
阅读次数:
503