← Siemens questions

BFS and DFS

Filed under Siemens · Also reported at DBS

The question

Explain the difference between BFS and DFS and state which data structures they use.

No write-up yet. Related questions below have one.

Related Siemens questions

Collected from public candidate posts and coding forums. Updated Nov 2026.