升级win10体验# Hardware - 计算机硬件
B*1
1 楼
There is an array and the distance between any two consequent elements is on
e(+1 or -1) and given a number. You have to check whether the number is in a
rray or not with minimum complexity.
Actually very simple, but do not know which way is the best.
e(+1 or -1) and given a number. You have to check whether the number is in a
rray or not with minimum complexity.
Actually very simple, but do not know which way is the best.