Domanda di colloquio di IIT Madras

Design an algorithm for shortest path problem using BFS as a subroutine.