If you start top-down, say why you'd switch: The recursion is the clearest statement, but in Python it's a function call per amount and a stack that can grow with the amount, so I'll fill the table bottom-up. Same recurrence, same O(A times n). It shows you know both and chose on purpose.