Pergunta de entrevista da empresa Network 18

What is the difference between greedy algorithm and dynamic algorithm?