FB电面

  1. 给一个sorted array ,找出重复元素的开始,结束index。 [1,2,3,4,4,4,5], 输出 (3,5)

binary search的变种写法

对的

19年 12月的

Question 1:
product-of-array-except-self/

Question 2:
binary-tree-right-side-view/