2 ms·
A binary search is that complicated. It just doesn't look like it until you've considered all the possible edge cases The fact that it's tractable to rigorousl
by dkarl 17y ago
A binary search is that complicated. It just doesn't look like it until you've considered all the possible edge cases
The fact that it's tractable to rigorously consider all the edge cases means it is ridiculously simple compared to common real-world programming tasks.