ServiceNow Interview Question

Shortest Path between two Nodes( Graph BFS)