https://leetcode.com/problems/trapping-rain-water/#/solutions Here is my idea: instead of calculating area by height*width, we can think it in a cumul ...
分类:
移动开发 时间:
2017-07-04 13:21:11
阅读次数:
144
1. TBB简介 TBB ( Thread Building Blocks, 线程构建模块) 是Intel公司开发的并行编程开发的工具。它支持Windows,OS X, Linux平台,支持的编译器有Visual C++ (version 8.0 or higher, on Windows only ...
分类:
其他好文 时间:
2017-06-29 23:43:11
阅读次数:
442
Redux 和 React 没有直接关系,它瞄准的目标是应用状态管理。 核心概念是 Map/Reduce 中的 Reduce。且 Reducer 的执行是同步,产生的 State 是 Immutable 的。 改变 State 只能通过向 Reducer dispatch actions 来完成。 ...
分类:
其他好文 时间:
2017-06-27 23:25:29
阅读次数:
172
逻辑备用DG 今天是2014-04-29,近期一直忙的事情,也没来的急写点东西。今天继续整理dg的相关内容,要说的是逻辑dg的创建过程和注意事项。 什么是逻辑dg呢?物理dg类似于主库的完整副本。是块对块的重做应用。可是对于逻辑dg。是类似採用日志挖掘技术将主库传来的redo数据,进行构造sql进而 ...
分类:
其他好文 时间:
2017-06-16 12:44:36
阅读次数:
190
fatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recommended. 在stdafx.h 当中添加 # ...
分类:
其他好文 时间:
2017-06-09 20:19:19
阅读次数:
131
类似的数据库还有Google的Spanner。 参考:官网说明 另一个介绍 Key capabilities As a globally distributed database service, Azure Cosmos DB provides the following capabilities ...
分类:
数据库 时间:
2017-06-07 18:50:12
阅读次数:
316
Java技术不仅是一门编程语言而且是一个平台。同时Java语言是一门有着特定语法和风格的高级的面向对象的语言,Java平台是Java语言编写的特定应用程序运行的环境。Java平台有很多种,很多的Java工程师,即使是干了很长时间的工程师也不是很理解不同平台之间的区别和关联是什么。Java编程语言一共 ...
分类:
编程语言 时间:
2017-06-05 15:44:07
阅读次数:
170
26. Using the higher order function reduce(), write a function max_in_list() that takes a list of numbers and returns the largest one. Then ask yourse ...
分类:
编程语言 时间:
2017-05-28 14:58:29
阅读次数:
186
We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have to guess which number I picked. Every time you guess wron ...
分类:
其他好文 时间:
2017-05-27 21:15:21
阅读次数:
207
In this lesson we'll create a Higher Order Component (HOC) that takes care of the key property that React looks for when using map to create elements ...
分类:
其他好文 时间:
2017-05-26 15:58:18
阅读次数:
194