4 ms·
Now that you spell it out, I guess this just binary search. You need O(log n) weighings because each weighing splits the search space in half. So I was wrong it
by Swizec 2mo ago
Now that you spell it out, I guess this just binary search. You need O(log n) weighings because each weighing splits the search space in half. So I was wrong it’s not an information theory question, it’s just comp sci algorithms. I got my college classes mixed up (it’s been 14years)
- FabHK 2mo agoNot binary. Each weighing can give you left, equal, right. So a ternary tree, if you want.