摘要:
Count the number of k's between 0 and n. k can be 0 - 9. Count the number of k's between 0 and n. k can be 0 - 9. Count the number of k's between 0 an 阅读全文
posted @ 2016-07-06 02:33
北叶青藤
阅读(407)
评论(0)
推荐(0)
摘要:
Write a function that add two numbers A and B. You should not use + or any arithmetic operators. 分析: 典型的Bit Operation. 阅读全文
posted @ 2016-07-06 02:21
北叶青藤
阅读(192)
评论(0)
推荐(0)
摘要:
Write an algorithm which computes the number of trailing zeros in n factorial. Have you met this question in a real interview? Yes Write an algorithm 阅读全文
posted @ 2016-07-06 02:16
北叶青藤
阅读(181)
评论(0)
推荐(0)
摘要:
For an array A, if i < j, and A [i] > A [j], called (A [i], A [j]) is a reverse pair.return total of reverse pairs in A. For an array A, if i < j, and 阅读全文
posted @ 2016-07-06 02:01
北叶青藤
阅读(220)
评论(0)
推荐(0)

浙公网安备 33010602011771号