Question #160664

When can we use greedy algorithm?


Expert's answer

Greedy algorithm can be used for the optimization it means when we want to maximize or minimize then then we use greedy algorithm. It provides the best case at every step and find the optimum way to solve any question.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS