Arcesium interview question

Standard DS/Algo Questions about graphs and trees