4 ms·
I'm not sure if it is "binary search", but it certainly would be an interesting test, see [1]. [1] https://news.ycombinator.com/item?id=1277459 https://news.yc
by amelius 10y ago
I'm not sure if it is "binary search", but it certainly would be an interesting test, see [1].
[1] https://news.ycombinator.com/item?id=1277459 https://news.ycombinator.com/item?id=1277459
- barrkel 10y agoBinary search is a terrible interview question because there's a handful of gotchas in the implementation. Questions that depend on either leaps of insight or the interviewee having heard the question before make for dreadful interview questions. The former leads to too much variance to be a good measure; the latter makes the answer meaningless.