Computer Science Algorithm.
I will give thumb up, thank you!
link to graphExample.py
https://drive.google.com/file/d/1oyMZomiq1zDAJ-GYf69MMytiRtnral3j/view?usp=sharing
Consider the following spider-web graph that shows a spidersiting at the bottom of its web, and a fly sitting at the top. Onmoodle, there is a file called graphExample.py that implements thegraph using a library called NetworkX.
(a) Write an algorithm to determine how many different ways canthe spider reach the fly by moving along the web’s lines in thedirections indicated by the arrows?
(b) Implement your algorithm in Python using the NetworkX graphprovided as your data structure. You may need to install NetworkXif it isn’t part of your
PayPal Gateway not configured
PayPal Gateway not configured