Hello,
I tried to redo the code but it does not validate it for test 11. I have provided the code on github along with some documentation if you want to take a look.
From the error you show me, I can’t see how to fix it.
Actually my code is not working on the validator so, I thought it was working but it took too long to solve the maze 11.
I was able to reproduce the problem with validator 11.
Apparently it has to do with the collected set of keys.
Eg: If a route collects key “a”, another route collects key “b”, both arrive in cell X, then you mark this cell containing the two keys. In this case, even if another route passes through both keys, it will be discarded.
Solved it by creating in each cell, different sets of collected keys.
I’m probably wrong, but it seems to me that several of the “Expected” solutions are impossible or wrong - maybe something has been changed? I give below 3 examples:
I can’t get the formatting right on the forum text so have added a nicely formatted version as an attached picture - hope that helps!