1. trim trim('aaa' from 'aaabbbccc') 这个是错误的。ora-30001: trim set should have only one character 2. initcap() 首字母变为大写 3. RMAN:minimize load 在10g之后,可以在ba...
分类:
其他好文 时间:
2014-07-05 18:22:45
阅读次数:
245
Rack:ruby webserver框架https://rack.github.io/文件上传使用基于tempfile 库文件上传要经历两个过程:1、上传文件传到opennebule sunstone-server的临时目录,临时目录配置文件时/etc/one/sunstone-server.co...
分类:
其他好文 时间:
2014-07-05 17:36:55
阅读次数:
181
The gray code is a binary numeral system where two successive values differ in only one bit.
Given a non-negative integer n representing the total number of bits in the code, print the sequence of...
分类:
其他好文 时间:
2014-07-04 07:35:58
阅读次数:
215
题目描述There are N tasks and M resources, each task is asked to use some resources and each resource can only be used by at most one task. You are asked ...
分类:
其他好文 时间:
2014-07-03 20:35:23
阅读次数:
274
不戚戚于贫贱,不汲汲于富贵 ---五柳先生Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dict.....
分类:
其他好文 时间:
2014-07-03 20:21:27
阅读次数:
225
题目
Say you have an array for which the ith element is the price of a given stock on day i.
If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the...
分类:
其他好文 时间:
2014-07-03 17:51:01
阅读次数:
235
微软近期Open的职位:SENIOR DEVELOPMENT LEAD:The Enterprise Commerce (ECIT) Engineering Team holds the mission for delivering millions of transactions and one ...
分类:
其他好文 时间:
2014-07-03 12:54:25
阅读次数:
335
Pick-up sticks
Problem Description
Stan has n sticks of various length. He throws them one at a time on the floor in a random way. After finishing throwing, Stan tries to find the top sticks,...
分类:
其他好文 时间:
2014-07-02 15:29:53
阅读次数:
295
题比较容易读懂,但是建模需动点脑子:
一个子串加常数形成的子串认为跟子串相同,求最长不重叠重复子串
题目中说
is disjoint from (i.e., non-overlapping with) at least one of its other appearance(s)
意味着不能重叠,举个例子
1, 2,3, 52, 53,54
1,2, 3和 52, 5...
分类:
其他好文 时间:
2014-07-02 15:15:01
阅读次数:
289
http://ionicframework.com/blog/angularjs-console/1: Access ScopesWe can access any scope (even isolated ones!) on the page with a simple JS one-liner:...
分类:
Web程序 时间:
2014-07-02 14:53:37
阅读次数:
443