“please select a problem and a scenario that is near and dearto your heart! Write your own weighted graph algorithm that solvesa problem similar to to the example.Do the following :Desription of Scenario and ProblemC/ Python Implemntation————
As example look to the Trading for a Piano in Chapter 7 ofGrokking Algorithms Page 122https://github.com/790013438/Free-Algorithm-Books-1/blob/master/book/Grokking%20Algorithms%20-%20An%20illustrated%20guide%20for%20programmers%20and%20other%20curious%20people.pdf
Answer