Unable to solve Programming Assignment: Implementing algorithms in Graphs

Unable to solve Programming Assignment: Implementing algorithms in graphs of “Deeplearning.AI Introduction to Generative AI for Software Development” And my code is also corrupted because of multiple attempts. What to do?

Details:

I was trying to code to pass the test cases. for this I have pasted my modified code in Jupyter Notebook code cell and run. Due to multiple attempts, I am unable to retrieve original code to restart my modifications in the code cell. Looking for a way where I can restart the assignment.

Hi,
Have you tried the instructions in the section " (Optional) Downloading your Notebook and Refreshing your Workspace"? (Look at the “Refreshing your workspace” section.) Hope this helps.

1 Like

Hello, try getting a new reset copy of the assignment with “Get Latest Version” as suggested above.

Now, when you solve the questions, if your solution does not meet the requirements, you must continue interacting with the LLM to refine or change the solution it provides. For example if the solution is inneficient (it takes too much time) tell the LLM the soluton is taking more time than alowwed to and ask it to come with an improved version or a different code solution!

2 Likes

I tried to download and refresh to the latest version, but none of these approaches is working. I can still see my modified code.

Below is the snapshot of my downloaded copy.

I tried to download and refresh to the latest version, but none of these approaches is working. I can still see my modified code.

Below is the snapshot of my downloaded copy.

You need to rename or delete the current Lab file before restoring it with “Get Latest Version”.

Issue fixed. Thank you :slight_smile:

1 Like