Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. Notice Bonus point if you ...
分类:
其他好文 时间:
2016-07-10 09:48:42
阅读次数:
125
Given inorder and postorder traversal of a tree, construct the binary tree. Notice You may assume that duplicates do not exist in the tree. Given inor ...
分类:
其他好文 时间:
2016-07-08 01:28:44
阅读次数:
111
Description 给定一棵树,边的颜色为黑或白,初始时全部为白色。维护两个操作:1.查询u到根路径上的第一条黑色边的标号。2.将u到v 路径上的所有边的颜色设为黑色。Notice:这棵树的根节点为1 给定一棵树,边的颜色为黑或白,初始时全部为白色。维护两个操作:1.查询u到根路径上的第一条黑色 ...
分类:
其他好文 时间:
2016-07-06 15:00:05
阅读次数:
208
Maximum Subarray Given an array of integers, find a contiguous subarray which has the largest sum. Notice The subarray should contain at least one num ...
分类:
其他好文 时间:
2016-07-06 11:54:26
阅读次数:
242
脚本:check_log.sh主要功能:用于检查日志文件是否上传到ftp服务器,若未上传的,则发邮件报警-------------------#!/bin/bash
#Autochecklogfilesandnoticebyemail
#Bycolin
#Revisionon2015-11-03
#
#Useage:./check_log.sh/home/upload/
#10****/root/check_log.sh
#
#####..
分类:
Web程序 时间:
2016-07-05 22:44:05
阅读次数:
1008
Write a program to find the node at which the intersection of two singly linked lists begins. Notice If the two linked lists have no intersection at a ...
分类:
其他好文 时间:
2016-07-03 06:57:31
阅读次数:
116
Given a linked list, remove the nth node from the end of list and return its head. Notice The minimum number of nodes in list is n. Have you met this ...
分类:
其他好文 时间:
2016-07-03 06:56:13
阅读次数:
121
一nginx的全局配置#定义Nginx运行的用户和用户组userwwwwww;#nginx进程数,建议设置为等于CPU总核心数。worker_processes8;#全局错误日志定义类型,[debug|info|notice|warn|error|crit]error_log/var/log/nginx/error.loginfo;#进程文件pid/var/run/nginx.pid;#一个nginx进程..
分类:
其他好文 时间:
2016-07-01 16:40:53
阅读次数:
202
Given two sorted integer arrays A and B, merge B into A as one sorted array. Notice You may assume that A has enough space (size that is greater or eq ...
分类:
其他好文 时间:
2016-07-01 11:33:37
阅读次数:
146
1. One thing need to be notice that if player put to wrong place... ...
分类:
其他好文 时间:
2016-07-01 06:42:27
阅读次数:
144