Q: What is the greedy method?

Write your answer...

Submit

Still have questions?

Continue Learning about Math & Arithmetic

Greedy has two syllables.

because they are shellfish

The title of a book for children (Brainy Day series),

There is not "a" greedy algorithm; "greedy algorithm" is a term to describe several algorithms that have some things in common. The general idea is that at each step, you look for what seems to be, "locally", the best solution. For example, in a shortest-distance problem, look for a step that takes you closer to the destination. This may, or may not, lead to the best solution overall.

yes because ull be greedy

Related questions

greedy method does not give best solution always.but divide and conquer gives the best optimal solution only(for example:quick sort is the best sort).greedy method gives feasible solutions,they need not be optimal at all.divide and conquer and dynamic programming are techniques.

It may not be the best solution and sometimes may even be the worst possible one.

Branch and bound method is used for optimisation problems. It can prove helpful when greedy approach and dynamic programming fails. Also Branch and Bound method allows backtracking while greedy and dynamic approaches doesnot.However it is a slower method.

An algorithm for finding a unit fraction expression for any fraction is the Greedy Method. To use the Greedy Method on fraction X. Start with the largest unit fraction less then fraction X. Then continue in the same manner to represent the remaining value. 5/8th imperial measure or .625 in decimal.

Yeah. They are greedy

The phrase 'were greedy for more gold' is a fragment. Who was greedy? Correct: The men were greedy for more gold. The miners were greedy for more gold.

no eminem is not greedy...

You describe who is greedy. (the old man was very rich and greedy)

Greedy is an adjective

The saying is 'as greedy as a pig', mainly because pigs eat a lot and considered greedy.

yes very greedy

Your so greedy!