'BFS and DFS in weighted graph
When applying BFS, my answer is SACBDTUXVWYZFEG. But the answer is SACBDTUXVWYZEFG. And I have totally no idea for DFS's answer about S, A, B, T, D, C, U, W, E, F, G. anyone have any idea for BFS and DFS plz?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
