diff --git a/Leetcode Challenge/February/cpp/Clone Graph.cpp b/Leetcode Challenge/February/cpp/Clone Graph.cpp index 0e7ed4b..c25bb24 100644 --- a/Leetcode Challenge/February/cpp/Clone Graph.cpp +++ b/Leetcode Challenge/February/cpp/Clone Graph.cpp @@ -30,7 +30,7 @@ class Solution { { if(mp.find(it)!=mp.end()) neighbour.push_back(mp[it]); - } + else neighbour.push_back(dfs(it,mp)); }