All Ancestors of a Node in a Directed Acyclic Graph - Practice Coding | SlaveCode