摘要:
Given n, how many structurally unique BST's (binary search trees) that store values 1...n? For example,Given n = 3, there are a total of 5 unique BST' 阅读全文
摘要:
先看一道leetcode题: Best Time to Buy and Sell Stock II Say you have an array for which the ith element is the price of a given stock on day i. Design an al 阅读全文
摘要:
1种经典的消息模式是单向数据分发sub-pub:服务端将更新事件发送给一组客户端。让我们看一个天气信息发布的例子,包括邮编、温度、相对湿度。我们随机生成这些信息,气象站好像也是这么干的。下面是服务端的代码,使用5556端口://// Weather update server in Java// ... 阅读全文
摘要:
Volatile Resource Managers in .NET Bring Transactions to the Common TypeJuval LowyThis article discusses:Overview of transactional processingTransactions in the .NET FrameworkVolatile Resource ManagersTransactional classes and collectionsThis article uses the following technologies:.NET Framework 2. 阅读全文