IIT Madras interview question

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