Domanda di colloquio di Tiger Analytics

graph based coding question that needs to be done in python language