HashSlap-Summer-of-Code / HashSlap-Summer-of-Code/Algorithms

Implement DFS in C++

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
beginner-friendly good first issue hacktoberfest HSSOC
Dominant language
Java
Stars
3
Forks
10
PR merge metrics
No merged PRs in 30d

Description

## 🔧 Implement: Depth-First Search (DFS) in C++

File path:
```
algo-and-data-structures/graphs/dfs.cpp
```

### Requirements:
- Implement DFS using recursion and adjacency list.
- Print the order of traversal.

✅ Test:
```bash
g++ dfs.cpp -o dfs && ./dfs
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.