You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For very big graphs, the recursive DFS algorithm can cause a stackoverflow.
Refactoring : while loop without recursive calls -> use a stack (push / pop during vertices visit)
The text was updated successfully, but these errors were encountered:
For very big graphs, the recursive DFS algorithm can cause a stackoverflow.
Refactoring : while loop without recursive calls -> use a stack (push / pop during vertices visit)
The text was updated successfully, but these errors were encountered: