added notes to Dynamic and Greedy