Skip to main content

Greedy Algo

Concept#

Being greedy will lead to your downfall, well not entirely true, here is a good news for you, being greedy can actually help you solve some problems which look really difficult and it is also the basis of many well known useful algorithms that you will learn later. But what is the greedy approach? Is there any downfall to being greedy? and when can you use it? As it so happens you must be cautious if you are being greedy, it does not always give the correct answer. To know in detail the answer of the questions spend your time reading these articles.