Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2014-06-26 00:29:49
阅读次数:
168
#coding = utf-8import osstr1 = 'd:/v3/'str2 = 'd:/v3/'fobj = open('D:/V3/txt/1.txt','rb')line = fobj.readline()while line: if(line.find('a') > 0):...
分类:
其他好文 时间:
2014-06-25 23:22:26
阅读次数:
270
//父页面调用子页面Add函数$("iframe").contentWindow.Add()//父页面对子页面Id为Sava的Dom元素执行一次单击操作$("iframe").contents().find("#Sava").click();//子页面调用父页面Update()函数parent.Up...
分类:
Web程序 时间:
2014-06-24 21:36:54
阅读次数:
172
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:
其他好文 时间:
2014-06-24 18:56:54
阅读次数:
240
解决方法如下 On the Windows 7 machine:Run secpol.mscDrill down through Local Policies | Security Options.Find Network Security: LAN Manager authentication l...
Find: In a sense, find is the opposite of the [] operator. Instead of taking an index and extracting the corresponding character, it takes a...
分类:
其他好文 时间:
2014-06-24 12:38:45
阅读次数:
173
首先申明一下,写此博文的目的是纪录一下,知识都是现成的,只是整理一下,为了让自己更容易看懂,比在其他地方更容易明白。因为它们太常用了,不忍心每次都去用那么长的时间查看MSDN,希望能在这里用理少的时间来理解并运用其用法。最终目标是减少从接触到能理解并使用的时间。List类型的查找操作Find ...
分类:
其他好文 时间:
2014-06-22 10:48:22
阅读次数:
231
文本的查找可以使用两种方式来实现,即使用locate命令来查找和find命令来查找那么这两种方式有什么区别呢?locate:是一种非实时查找,所谓非实时查找就是查找的不够实际,不够精确。因为locate查找是在系统文件数据库中进行的,而数据库默认是一天更新一次,也就是说你查找的..
分类:
系统相关 时间:
2014-06-22 09:50:43
阅读次数:
208
题目:
Given a binary tree containing digits from 0-9 only, each root-to-leaf
path could represent a number.
An example is the root-to-leaf path 1->2->3 which represents the number 123.
Find...
分类:
其他好文 时间:
2014-06-22 08:30:24
阅读次数:
236
Inflate() method can find out a layout defined by xml,as like the findViewById() method,but there have some different between them.
The different are:
If your Activity used other layout,such as...
分类:
移动开发 时间:
2014-06-22 06:41:43
阅读次数:
362