ION Group Interview Question

Two Coding questions- 1 Graph, 1 Array