Syfe Interview Question

Leetcode direct link tree(easy) + graph(medium)