Show HN: Water Pouring Problem Simulation
1–8 of 8 posts
Re: Show HN: Water Pouring Problem Simulation
#2You can solve this problem faster using the extended Euclidean algorithm.
Re: Show HN: Water Pouring Problem Simulation
#3You can solve this problem faster using the extended Euclidean algorithm.
Does the algorithm yield the exact path to the target volume?
Re: Show HN: Water Pouring Problem Simulation
#4I wonder how many people tried the "5 and 3 gallon canister, target is 4 gallons" from Die Hard 3 … I know I did!
Re: Show HN: Water Pouring Problem Simulation
#5I wonder how many people tried the "5 and 3 gallon canister, target is 4 gallons" from Die Hard 3 … I know I did! Context: https://www.youtube.com/watch?v=BVtQNK_ZUJg
Adding this video to the page, thanks for sharing!
Re: Show HN: Water Pouring Problem Simulation
#6It will be nice to have a list with all steps at the end
Re: Show HN: Water Pouring Problem Simulation
#7Thought it is real water pouring simulation..
Re: Show HN: Water Pouring Problem Simulation
#8Intuitively, to be possible I think the target amount has to be divisible by the gcf of the two jugs.