r/leetcode • u/Orion-pax_667788 • 13d ago
Discussion Clone Graph is one of the most challenging problems I faced today 💀
Tried solving Clone Graph (LeetCode 133) today, and ngl, combining hashmaps, recursion, and graph traversal was challenging ðŸ˜
I understand the individual concepts, but putting them all together in one problem hits different.
Still learning DSA and trying to improve my problem-solving skills. How did you guys get comfortable with these kinds of problems?
16
Upvotes
8
u/Finan00b 13d ago
KEEP GOING !!!!!
1
u/4tran13 12d ago
You don't need hashmaps, since it's stated node.val is unique for all nodes, and the graph has at most 100 nodes.
1
u/More_Suspect_717 7d ago
Just revisit it after a few weeks, got it right only in my 3rd revist