IIT Madras Interview Question

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