Greedy Method Definition/Meaning:
An algorithm that, with a certain goal in mind, will attempt at
every stage to do whatever it can, whenever it can, to get nearer to that goal
immediately. In other words the method surrenders a possible longer-term
advantage in favor of an immediate move toward the objective.