Intuit Interview Question

Implement a uni-directional graph and print it out. Coding tool for the assessment was Glider.