Dynamic Programming·What Dynamic Programming Is·FoundationBefore writing any codeA problem is being considered for dynamic programming.What two properties must it have?AIt is recursive, and it can be written with an arrayBIt has a large input, and a naive solution is too slowCThe same subproblems recur, and the best answer is built from best answers to smaller onesDIt asks for either a maximum or a minimum, and the input happens to be a sequenceCheck answer