Microsoft interview question

Implementation of DFS in graphs