Ola interview question

Graph traversal for a directed graph