Grading Error: Error in implementing algorithms in graphs

When i Submit the assignment for Implementing algorithms in Graphs present in Module 3 , It fails with " * ### 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."

It fails the same way for all the four problems in the assignment. Can anyone please help

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!