Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example: Given the below binary tree, 1 ...
分类:
其他好文 时间:
2014-07-30 20:33:34
阅读次数:
193
these are the basic steps of installing domU with xen-tools in ubuntu13.04 64bit in xen4.3you can also use virt-manager which has an UI, but there may...
分类:
其他好文 时间:
2014-07-30 20:05:14
阅读次数:
588
Baby Steps-VarsityGiant Step-Astronauts(May'n?椎名慶治)阅读时可以听听这两首歌,加深对这个算法的理解。(Baby steps少女时代翻唱过,这个原唱反而不是很有名……Giant Step就比较碉,是一个假面骑士片的插曲,由超碉的May'n和一个人建立的临...
分类:
其他好文 时间:
2014-07-30 12:01:53
阅读次数:
245
题目:Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may com....
分类:
编程语言 时间:
2014-07-30 05:35:13
阅读次数:
260
题目:Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may com....
分类:
编程语言 时间:
2014-07-30 05:35:03
阅读次数:
309
Modules are small kernel extensions ,that may be loaded and unloaded at will● Can implement drivers, filesystems, firewall,and more● Are located under...
分类:
系统相关 时间:
2014-07-29 20:53:52
阅读次数:
235
#!/usr/bin/python
#!*-*coding:utf-8*-*
#file:Analysis_logs.py
#importos
importstring
importre
month={‘1‘:‘Jan‘,
‘2‘:‘Feb‘,
‘3‘:‘Mar‘,
‘4‘:‘Apr‘,
‘5‘:‘May‘,
‘6‘:‘Jun‘,
‘7‘:‘Jul‘,
‘8‘:‘Aug‘,
‘9‘:‘Sep‘,
‘10‘:‘Oct‘,
‘11‘:‘Nov‘,
‘12‘:‘Dec‘}
LogFilePath=r‘/var/l..
分类:
编程语言 时间:
2014-07-29 18:20:52
阅读次数:
327
修改文件 /system/core/Router.php 的方法 _parse_route()
/**
* Parse Routes
*
* This function matches any routes that may exist in
* the config/routes.php file against the URI to
* determine if th...
分类:
其他好文 时间:
2014-07-29 18:05:12
阅读次数:
211
问题分析:
当按下存在光盘的光驱弹出按钮时,查看系统日志会有一个内核警告信息:
在mint中在/var/log/syslog中存在如下警告(错误)信息:
May 30 10:49:08 ufo kernel: [ 147.793292] VFS: busy inodes on changed media or resized disk sr0
kernel表示这个问题是一个内核中报出的问...
分类:
其他好文 时间:
2014-07-29 17:50:22
阅读次数:
337
/* * Copyright 2005 Joe Walker * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance wi...
分类:
编程语言 时间:
2014-07-29 13:53:20
阅读次数:
484