Given a Directed Acyclic Graph (DAG), write a function to return the length of the longest path. | Meta Interview Question | Practice Free | SkillVee