[Puzzle of the Week] A-Star Exercise

Hello there,

Concerning puzzle"A-Star exercise" https://www.codingame.com/ide/puzzle/a-star-exercise :

Some validator pass here (01, 02, 03) … but I have probleme with 04, 05 and 06 for example.
For validator 06, I’m at current node 1 and Node 2 is attended, but there no path form 1 to 2 (or 2 to 1) ???

(validator 06) I output :
0 5
1 5
3 6
(which is the end because 3 is the goal node)
But expected value are :
0 5
1 5
2 5
3 6

I could’nt see my error, I think line “2 5” should be removed.

When I send my code, nothing pass :frowning:
At least simple test should be passed.

Does someone finished this puzzle ?
Please help.

You have to output all the nodes the algorithm goes through (in order) until reaching the goal, not only the path from the start to the goal. Not sure but this might be your problem here.