by wfunction · 12y ago · 0 comments
1. Look up the first 60 questions on StackOverflow. That amounts to 5 hours you would've spent on just the first one.
2. If you still have more questions, spend another 5 hours learning the ins and outs of the darn thing.
Problem solved: now you're not sacrificing latency for throughput.
You just described the best deterministic algorithm, but it turns out there are even better randomized algorithms, where you "flip a coin" when deciding to look up StackOverflow or keep learning (of course, that may or may not be practical :p).
Hmm... given that you stated that the best randomized algorithms we have beat our best deterministic ones, isn't there a place for even better deterministic algorithm?
Am I missing some critical piece of understanding here?