hello. I have read the instructions for the final lab ‘Implementing algorithms in graphs’, and I find the assignment difficult to get started. The instructions are not very clear. Can someone recommend how to get started on GraphShortestPath? I can’t even copy code into an LLM for help as the notebook won’t let me.
Help with 1st Lab
Hi @umichjal ,
It is awhile since I took this course, so I can only offer some general suggestions.
Although this course is classified as a beginner course, having some understanding of a programming language would definitely help. In this exercise, the Python class object is heavily used, and you need to understand the class object.
There are code cells prohibited from editing, but you can copy the code and paste it on to the LLM and ask it to explain what that piece of code does, or anything that you don’t understand. For example, you can copy and paste the Graph class and ask LLM to explain it’s structure and how to use it. This code cell is frozen, no editing is allowed, but you can copy the entire block of code and paste it on to LLM.
When you are happy with the LLM response, you can start editing the Graph_Advance class, only add code where you see the
# Your code here
If you need help with ideas, you can copy the instructions, for example, the shortest path, and ask LLM to help you develop an algorithm/code.
Your best bet at this point is to work closely with the LLM, ask it many questions to understand what is required to produce and to explain any code it produces for solving your assignment!