But isn’t dfs implemented this way "Unless all nodes are explored it shouldn’t be popped of the stack"
So i should not pop the original one unless it has no unvisited neighbours
Also After pushing second value (3) as it doesn’t have any neighbours it should get popped but it isn’t popping off