Lakhankumawat / LearnCPP

Learn Cpp from Beginner to Advanced ✅ Practice 🎯 Code 💻 Repeat 🔁 One step solution for c++ beginners and cp enthusiasts.
https://lakhankumawat.github.io/LearnCPP/
MIT License
598 stars 484 forks source link

Iterative DFS- Graph Traversal Algorithm #1553

Closed AaliyahBeg closed 2 years ago

AaliyahBeg commented 2 years ago

Description

I would like to add the Iterative Depth First Search way of traversal in Graphs. It's a popular graph traversal method used when the graph is nearly linear and has >=10^5 nodes . If we use Recursive Depth First Search traversal then we will end up getting a stack overflow exception too quick. Thus this is used when Recursive Depth First Search traversal fails.

Domain

Algorithm

Type of Contribution

Addition

Code of Conduct

github-actions[bot] commented 2 years ago

Hello @AaliyahBeg, thanks for creating your first issue at LearnCPP, hope you followed the guidelines.

AaliyahBeg commented 2 years ago

/assign

github-actions[bot] commented 2 years ago

This issue has been assigned to AaliyahBeg! It will become unassigned if it is not closed within 12 days. A maintainer can also add the pinned label to prevent it from being unassigned.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 3 days with no activity. Remove stale label or comment or this will be closed in 2 days.

AaliyahBeg commented 2 years ago

@Lakhankumawat , I am a GSSOC'22 contributor . I have made the Pull Request. Can you please review and merge it .

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 3 days with no activity. Remove stale label or comment or this will be closed in 2 days.

github-actions[bot] commented 2 years ago

This issue was closed because it has been stalled for 5 days with no activity. Please reopen this issue if not resolved.