The water jug riddle from die hard 3


My program passes successfully all the ide tests, but fails the 3rd and 4th validators.
Is it possible te get the values of these validators please because i couldn’t figure out the issue without the data.


Can you explain your thought process with writing your code?

my program passes all the ide test and 3/4 validators tests, it fails only the 3rd validator.
for now my program go in depth (perhaps i ll change that for a BFS if needed)
i also enhaced it with momoization and it never go in depth more than the current solution found.