What is the difference between top-down and bottom-up dynamic programming?
-
A
Top-down uses iteration; bottom-up uses recursion
-
B
Top-down uses memoized recursion; bottom-up fills a table iteratively
-
C
Top-down is faster; bottom-up uses more memory
-
D
They are identical in approach