摘要:
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 ... 阅读全文
posted @ 2012-11-26 17:41
程序员杰诺斯
阅读(128)
评论(0)
推荐(0)
摘要:
Divide two integers without using multiplication, division and mod operator.思路:先想到的是做减法,但是效率在两数差距大的时候复杂度很高, 之后想到移位的方式,把除数和余数提... 阅读全文
posted @ 2012-11-26 17:01
程序员杰诺斯
阅读(110)
评论(0)
推荐(0)

浙公网安备 33010602011771号