Greedy strategy can be useful even when it doesn't work
Greedy algorithms try to find the optimal solution by taking the best available choice at every step. For example, you can greedily approach your life. You can always take the path that maximizes your happiness today. But that doesn't mean you'll be...
Nov 28, 202012 min read290

