Meta Interview Question

Had to code up two functions in python. The functions were based around traversing a graph and identifying total number of nodes and shortest path within a maximum length.