Mutli-Verse Technologies interview question

Some tree and graph questions