Pregunta de entrevista de IIT Madras

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