How to divide a number?
Anonymous
I guess the answer he expected was the standard textbook one. I reduced the problem to a search problem and gave him a O(n) answer and refined it to a O(log(n)) answer like a binary search algorithm.
Check out your Company Bowl for anonymous work chats.