Send your feedback or ask for help here!
Not a bad puzzle, but the “riddle from Die Hard 3” is much older than any of those films.
I think this puzzle is not “very hard” at all. Some puzzles from middle level are harder.
I thought that some test cases - after submitting my solution - are going to fail because of performance with tests with 100 containers. But surprisingly they weren’t.
The number of containers is limited to just 5.
I agree with zolv. A naive solution worked from the get go which usually means the puzzle is not that hard. Especially when the description hints on how the states and transitions should be arranged.