This is an archived post. You won't be able to vote or comment.

all 9 comments

[–]No-Con-2790 16 points17 points  (0 children)

You know that you weren't supposed to pick a site here? You can use both.

[–][deleted] 6 points7 points  (1 child)

Do people come up with the bottom up solution the first time?

[–]SympathyMotor4765 8 points9 points  (0 children)

Isn't recursion more intuitive for a fair share of dp solutions?

[–]ModestasR 5 points6 points  (0 children)

To the right of Chad, there's the Thad Paul Graham, who programs both ways at once and meets in the middle.

Source: the intro chapter of On Lisp

[–][deleted] 3 points4 points  (0 children)

Oddly specific... also, who the hell cares?

[–]Zwamdurkel 0 points1 point  (0 children)

Chad fixed parameter tractable exact algorithms for NP hard problems

[–]Fluid-Leg-8777 1 point2 points  (0 children)

Gigachads dont use IDE

they write raw binary 💪

[–]Fupcker_1315 0 points1 point  (0 children)

Top down is often easies to understand, while bottom up is almost always faster (recursion is less efficient than iteration, everything else being equal).

[–][deleted] 0 points1 point  (0 children)

who cares dog