Accenture interview question

coding: 1. DFS traversal 2. Basic Array Manipulation