Submission Error: Programming Assignment: Implementing algorithms in Graphs

Programming Assignment: Implementing algorithms in Graphs.

Hi, I have the following message:

There was an error grading one or more parts of your submission. Please review the messages below for suggestions.

  • Learner Error: Grader timed out

Please try optimizing the efficiency of your solution and submit again. You can also visit the discussion forum to see if your peers have experienced and found resolutions for similar errors, or if course staff have provided prior guidance for these errors.. If the error isn’t resolved in 24 hours, please reach out to Coursera through our Help Center.

for: shortest_path function, tsp_small_graph function, tsp_large_graph function, tsp_medium_graph function

I need some help to solve it
{mentor edit: files removed}

I have removed the attachments from your message, because sharing your code for the assignments is not allowed by the Code of Conduct.

1 Like

If you could see from similar posts:

This particular error means your implementation is neither right nor efficient! Ask the LLM, which produced this code, to refine the solution and make it more efficient by also feeding it all the exercise’s requirements as mentioned in the Lab. Then again, try out the new code solution produced by the LLM.

However, you should always first try to understand what that code produced by the LLM is actually doing, not just copy-pasting it!

1 Like