Detect Cycles in 2D Grid - DSA Problem | Talentd