ION Group Interview Question

About DSA questions: Graphs and Trees