3 ms·How do you figure?by BeefingJection 18y agoHow do you figure?Hexstream 18y agoDoes walking continuously for 1000km merely take 100 times longer/more effort than 10km?paulgb 18y agoGood point, but you answered your own question: the "walk then rest" algorithm will do it in linear time.tjpick 18y agonull pointer on your drink-bottle instance results in fatal runtime exception.paulgb 18y agoPun intended?tjpick 18y agoda-da-chhhhh. you're quick ;)