Domanda di colloquio di LinkedIn

Graph question asking minimum distance between two nodes.