r/javahelp • u/osdir202 • Jul 16 '19
Can every dp problem be solved top down and bottom up?
Title
2
Upvotes
1
u/Python4fun Jul 16 '19
Big problems need a top down approach, and then the smaller problems can be solved bottom up.
Facebook needed a top down look to figure out what parts were needed (iterate as needed) as they couldn't just start piecing together sets of data and then figure out how to use them.
1
3
u/ynvaser That Java Guy Jul 16 '19
Did you pass your test, or are you still writing it?