Amazon Interview Question

Return array containing shortest path from starting to ending node in a graph