easy - accepted / - tried
Even in Front-End review, basic algorithm technique like Binary Search are likely to be asked.
You are given an unique & ascending array of integers, please search for its index with Binary Search.
If not found, return
Please don't use
Array.prototype.indexOf(), it is not our goal.
Let's try to solve this problem within 10 mintues.