'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?

[1]: https://i.stack.imgur.com/bDOpT.png



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source