码迷,mamicode.com
首页 >  
搜索关键字:nod    ( 6886个结果
Eureka服务下线(Cancel)源码分析
Cancel(服务下线) 在Service Provider服务shut down的时候,需要及时通知Eureka Server把自己剔除,从而避免其它客户端调用已经下线的服务,导致服务不可用。 com.netflix.discovery.DiscoveryClient中shutdown()的867 ...
分类:其他好文   时间:2017-03-25 15:39:30    阅读次数:435
hadoop出现error包问题记录
前段时间,我公司发现大部分hadoop服务器有重传数据包和error包现象,且重传率经常超过1%。zabbix告警hadoop主机有error包出现。收到大量类似如下告警信息: Trigger: eth1 incoming error packets increase Trigger status: ...
分类:其他好文   时间:2017-03-25 15:22:16    阅读次数:298
关于nodejs、npm安装配置步骤(windows版本)
第一步:进入nodejs中文网,下载安装文件 http://nodejs.cn/download/ 第二步:安装nodejs 下载完成之后,双击"node-v6.10.1-x86.msi",开始安装nodejs,可以一直下一步,选择默认安装,也可自己定义安装路径等。 在cmd控制台输入:node - ...
分类:Windows程序   时间:2017-03-25 00:41:08    阅读次数:379
poj2251Dungeon Master(bfs模板题)
题目链接:http://poj.org/problem?id=2251 可以说是bfs的模板题了。 ...
分类:其他好文   时间:2017-03-24 19:57:39    阅读次数:220
线段树复习
2017.3.24 T1 最大子段和 http://codevs.cn/problem/3981/ 初做:2017.2.1 time:2576ms memory:22MB http://www.cnblogs.com/TheRoadToTheGold/p/6360224.html 现在:2017.3 ...
分类:其他好文   时间:2017-03-24 19:56:15    阅读次数:195
[LeetCode] Diameter of Binary Tree 二叉树的直径
Given a binary tree, you need to compute the length of the diameter of the tree. The diameter of a binary tree is the length of the longestpath betwee ...
分类:其他好文   时间:2017-03-23 21:22:24    阅读次数:174
js原码工具集
Skip to content FeaturesExplorePricing This repository</form> Sign in or Sign up FeaturesExplorePricing This repository</form> Sign in or Sign up Feat ...
分类:Web程序   时间:2017-03-23 20:36:59    阅读次数:230
[leetcode-124-Binary Tree Maximum Path Sum]
Given a binary tree, find the maximum path sum. For this problem, a path is defined as any sequence of nodes from some starting node to any node in th ...
分类:其他好文   时间:2017-03-23 16:39:09    阅读次数:133
【LeetCode】101. Symmetric Tree-对称树/镜像树
一、描述: 对称树/镜像树:关于轴对称,每个结点绕轴旋转180度后和原树相同 二、思路: 属于二叉树,原理同LeetCode 100.Same Tree,递归解决; 假设T1,T2是用一棵二叉树的两个引用: 返回true:T1、T2均为空或T1的左子树等于T2的右子树且T1的右子树等于T2的左子树; ...
分类:其他好文   时间:2017-03-23 03:18:04    阅读次数:135
HDU 1495 非常可乐 (BFS)
题意:略。 析:由于只有三只杯子,那么我们可以用两个杯子的状态,那么第三只的状态也可以确定下来,每次倒水,要么全倒过去,要么把那个杯子倒满。 注意题意是要保证最后是两个一样多。 代码如下: ...
分类:其他好文   时间:2017-03-22 16:14:36    阅读次数:220
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!