维尔软件笔试题和面试题答案(2)

招聘笔试题2018-11-22王华老师

  a. 2n b.2n-1 c.2n+1 d.2n-2

  7. Time complexity of n algorithm T(n), where n is the input size ,is T(n)=T(n-1)+1/n if n>1 otherwise 1 the order of this algorithm is .

  a. log (n) b. n c. n^2 d. n^n

  8. The number of 1’s in the binary representation of

  a. 8 b. 9 c. 10 d. 12

相关推荐

猜你喜欢

大家正在看

换一换