Given two wordsword1andword2, find the minimum
number of steps required to convertword1toword2. (each operation is counted as 1
step.)You have the fol...
分类:
其他好文 时间:
2014-05-10 01:09:28
阅读次数:
325
Given two words word1 and word2, find the
minimum number of steps required to convert word1 to word2. (each operation is
counted as 1 step.)You have t...
分类:
其他好文 时间:
2014-05-09 19:09:35
阅读次数:
318
select * from ( select row_number() over(order
by BD008_001) as row ,* from ...
分类:
数据库 时间:
2014-05-09 16:56:57
阅读次数:
328
Oracle的数字类型主要有number,binary_float,binary_double三类,其他的像int,number(p,s)等等大多数都是由这些引申出来的。这部分的理解主要来自oracle11g编程艺术。
其中提到的一个很有意思的东西就是number是软件模拟运算,而binary...
分类:
数据库 时间:
2014-05-09 16:32:13
阅读次数:
350
Oralce中的to_date()函数用于将字符串转换为日期对象: to_date(
string, [ format_mask ] , [ nls_language ] )
string1要转换的字符串.format_mask可选项,日期转换格式.nls_language可选项. 指...
分类:
移动开发 时间:
2014-05-09 12:43:26
阅读次数:
641
Problem
1:一个数组中有一个数字a只出现一次,其他数字都出现了两次。请找出这个只出现一次的数字?考察知识点:异或运算思路:比如数字 b^b = 0 a^0 =
a因此,可以将数组中的所有数字进行异或,而最终异或的结果即为所求只出现一次的数字a.代码:1 def SingleNu...
分类:
其他好文 时间:
2014-05-09 12:14:22
阅读次数:
475
Given a linked list, reverse the nodes of a
linked listkat a time and return its modified list.If the number of nodes is not
a multiple ofkthen left-o...
分类:
其他好文 时间:
2014-05-09 12:00:21
阅读次数:
309
我们先写一个简单的脚本,执行以后再解释各个变量的意义# touch variable# vi
variable脚本内容如下:#!/bin/shecho "number:$#"echo "scname:$0"echo "first :$1"echo
"second:$2"echo "argume:$@...
分类:
系统相关 时间:
2014-05-08 21:16:46
阅读次数:
480
原文:C#格式化字符串中转义大括号“{}”今天,用C#写程序操作Excel,读取单元格内容根据所需格式生成字符串,使用String.Format(string
format,object arg0)方法。以前只知“{0}”为索引占位符(即格式项),与参数列表中的第一个对象相对应,格式设置过程将每个格...
分类:
其他好文 时间:
2014-05-08 20:47:04
阅读次数:
290
Unknown argument: -helpGoogle Web Toolkit
1.7.0HostedMode [-noserver] [-port port-number | "auto"] [-whitelist
whitelist-string] [-blacklist blacklist...
分类:
其他好文 时间:
2014-05-08 20:30:02
阅读次数:
303