LiveRamp interview question

Distance between 2 nodes in a graph