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 the following 3 operations permitted on a word:...
分类:
其他好文 时间:
2014-11-08 23:42:09
阅读次数:
422
同样的雪花时间限制:1000ms | 内存限制:65535KB难度:4描写叙述You may have heard that no two snowflakes are alike. Your task is to write a program to determine whether this ...
分类:
其他好文 时间:
2014-11-08 20:48:27
阅读次数:
139
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-11-08 16:40:21
阅读次数:
187
Merge Sorted ArrayGiven two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that i...
分类:
其他好文 时间:
2014-11-08 16:28:21
阅读次数:
191
TO_DATE格式(以时间:2007-11-0213:45:25为例)Year:yy two digits 两位年显示值:07yyy three digits 三位年显示值:007yyyy four digits 四位年显示值:2007Month:mmnumber两位月显示值:11monabbrev...
分类:
数据库 时间:
2014-11-08 13:28:57
阅读次数:
382
struct node{ int n; int value;};bool cmp(node a,node b){ return a.value twoSum(vector &numbers, int target) { vector a; vect...
分类:
其他好文 时间:
2014-11-08 00:48:23
阅读次数:
135
Same TreeGiven two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally ide...
分类:
其他好文 时间:
2014-11-08 00:47:33
阅读次数:
151
Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or equal...
分类:
其他好文 时间:
2014-11-08 00:46:40
阅读次数:
131
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2014-11-07 23:12:58
阅读次数:
238
1 /* tingbc.c 2 * use two pipe to execute the bc. 3 * one pipe: todc[2] , another: fromdc[2] 4 * child thread to do dc, parent do UI 5 */ 6 7 #i...
分类:
系统相关 时间:
2014-11-07 22:01:05
阅读次数:
436