@aaronvincent6411 thanks for your suggestion. I remove the (common brackets)/parenthesis and put the square brackets instead and my code has not yet passed. What else can we do?
Okay. But how do I do that? I tried editing it here on the forum page but when I try to save it throws an error. What is the best way of updating my code?
You are forgetting the s. You need to get it out of distances. Just like in your if statement. distance without the s is the literal distance integer from your graph.
Hi @HungryBee , thanks. I think one of the things baffling me is the neighbor node. Its like I don’t seem to understand the whole question anymore because it has stretched for so long. To get back to a level where I understand the whole question I think I might have to start all over again. A pity really. I thought I was beginning to understand all these algorithms. Well like I said somewhere else I am a slow learner so Back to GO and do not collect 200 pounds (that is Monopoly game)
It makes sense, it may also help to just take a small break and re-read the current code again and try to tell yourself what every specific part is doing so far. You’ve already gotten far though, once you start to understand it you’ll only go further!
Hey Zack, I feel your pain… I’m going over this module myself and I feel the same sentiments. As soon as I felt like I was getting it, it feel like the rug was swept from under me… All I can say is that we have to keep pushing through… It will all make sense one day at least thats what Im hoping…