DFS: Connected Cell in a Grid

Problem Name:
DFS: Connected Cell in a Grid
Site:HackerRank
Links:
Tags:
Problem setters: