Network 18 interview question

What is the difference between greedy algorithm and dynamic algorithm?