因为下个礼拜就要用QTP测试一个web项目,所以今天晚上用了一些时间来重新学习下VBScript语法。才知道VBScript仅仅支持IE浏览器,对于其他的浏览器都不支持。接下来简单介绍一些语法:1. VBScript不区分大小写,而且支持space, tab和space tab混合使用缩进方法。这个...
分类:
其他好文 时间:
2014-11-30 23:05:51
阅读次数:
309
Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary words.For exampl...
分类:
其他好文 时间:
2014-11-30 23:04:01
阅读次数:
183
Determine whether an integer is a palindrome. Do this without extra space.Some hints:Could negative integers be palindromes? (ie, -1)If you are thinki...
分类:
其他好文 时间:
2014-11-30 22:55:07
阅读次数:
272
贴一些比较老的内容,文章是新写的,技术可能都是大家熟悉的,给入门的兄弟们参考。高手轻拍原文请见:http://www.muduo.net/index.php/u ... space-itemid-318728二、多数据中心的高可用结构【环状星型数据库架构】在介绍该结构之前,我们首先了解一下mysql...
分类:
数据库 时间:
2014-11-30 20:06:16
阅读次数:
311
可以专门针对字符串进行验证如还有检查大小写的检查空白字符的"\n\r\t",'string2'=>"\narf12",'string3'=>'\n\r\t');foreach ($stringsas$name=>$testcase) {if (ctype_space($testcase)) {ech...
分类:
Web程序 时间:
2014-11-30 19:59:36
阅读次数:
170
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.
Follow up:
Did you use extra space?
A straight forward solution using O(mn) space is probably a bad ide...
分类:
其他好文 时间:
2014-11-30 17:00:32
阅读次数:
223
一、使用css实现.slh {width:200px;display: block;overflow: hidden;white-space:nowrap;-o-text-overflow:ellipsis;text-overflow:ellipsis;}优点:简单易用缺点:如果设置 /*td, t...
分类:
Web程序 时间:
2014-11-30 13:47:22
阅读次数:
242
Linked List CycleGiven a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?SOLUTION 1:经典快慢指针问题。如果存在环...
分类:
其他好文 时间:
2014-11-30 00:15:56
阅读次数:
262
Sort ListSort a linked list in O(n log n) time using constant space complexity.使用Merge Sort, 空间复杂度是 O(logN) 因为使用了栈空间。SOLUTION 1:使用Merge Sort来解决问题。为什么不...
分类:
其他好文 时间:
2014-11-29 21:28:58
阅读次数:
203
At the beginning, I need to explain some knowledge about color space.The raw RGB is linear, but the sRGB value generated by camera is nonlinear value....
分类:
其他好文 时间:
2014-11-29 14:27:55
阅读次数:
130