HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by BeefingJection | Hacker News Reader
Parent
Full thread
BeefingJection
·
How do you figure?
View on HN
Hexstream
·
Does walking continuously for 1000km merely take 100 times longer/more effort than 10km?
paulgb
·
Good point, but you answered your own question: the "walk then rest" algorithm will do it in linear time.
tjpick
·
null pointer on your drink-bottle instance results in fatal runtime exception.
paulgb
·
Pun intended?
tjpick
·
da-da-chhhhh. you're quick ;)
Reply on news.ycombinator.com