摘要:
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 ... 阅读全文
摘要:
Divide two integers without using multiplication, division and mod operator.思路:先想到的是做减法,但是效率在两数差距大的时候复杂度很高, 之后想到移位的方式,把除数和余数提... 阅读全文