TuSimple Interview Question

1. Graph Tree problem 2. Linked List Tree problem