原文:Redis几个认识误区前几天微博发生了一起大的系统故障,很多技术的朋友都比较关心,其中的原因不会超出James Hamilton在On Designing and Deploying Internet-Scale Service(1)概括的那几个范围,James第一条经验“Design for...
分类:
其他好文 时间:
2015-04-06 06:19:30
阅读次数:
123
题目:
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 complete as many transactions as you like (ie, buy on...
分类:
其他好文 时间:
2015-04-05 23:34:42
阅读次数:
180
http://acm.csu.edu.cn/OnlineJudge/problem.php?id=1548
第一次接触三分,题意和代码参考的网上的。
题意:修路:从(0,0)~(x,y),n个数表示有第二行开始有n行表示有n条河,tx是河的起始位置,ty是河的宽度,有水的地方要修桥,而x,y表示修路的端点,C1表示修路每米的花费,C2表示修桥每米的花费,问你最后花费的最少金额!
思路:先把有...
分类:
其他好文 时间:
2015-04-05 20:29:37
阅读次数:
160
一、概述 用Altera的话来说,TimeQuest Timing Analyzer是一个功能强大的,ASIC-style的时序分析工具。采用工业标准--SDC(synopsys design contraints)--的约束、分析和报告方法来验证你的设计是否满足时序设计的要求。本文中,将采用一个D...
分类:
其他好文 时间:
2015-04-05 18:41:23
阅读次数:
219
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:
其他好文 时间:
2015-04-05 17:26:22
阅读次数:
131
设计模式(Design pattern)是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总结。使用设计模式是为了可重用代码、让代码更容易被他人理解、保证代码可靠性。设计模式的起源软件领域的设计模式起源于建筑学。1977年,建筑大师Alexander出版了《A Pattern Langu...
分类:
编程语言 时间:
2015-04-04 10:34:52
阅读次数:
138
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 complete at most two transactions....
分类:
其他好文 时间:
2015-04-03 15:24:50
阅读次数:
173
From Head First Design Patterns.Design Principle:Idnetify the aspects of your application that vary and separate them from what stays the same.Here's ...
分类:
其他好文 时间:
2015-04-03 13:03:39
阅读次数:
109
UML(Unified
Modeling Language),即统一建模语言或标准建模语言,始于OMG(Object
Management Group,对象管理组织),是OOAD(Object
Oriented Analysis Design,面向对象的分析与设计)高潮时期的产物。UML是一门统一的可视化建模语言,主要表现形式是图,自然就会有许多不同种类的图,下面先介绍一下类图。
...
分类:
其他好文 时间:
2015-04-03 11:30:57
阅读次数:
150
设计模式(Design Patterns)
——可复用面向对象软件的基础
设计模式(Design pattern)是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总结。使用设计模式是为了可重用代码、让代码更容易被他人理解、保证代码可靠性。 毫无疑问,设计模式于己于他人于系统都是多赢的,设计模式使代码编制真...
分类:
编程语言 时间:
2015-04-03 09:36:56
阅读次数:
237