Google Interview Question

DFS algorithm and its implementation with a programming language