ฝึกคณิตศาสตร์ไม่ต่อเนื่อง

Graph Traversal

เรียกดูบทเรียน Graph Traversal ภายใน Algorithmic Thinking and Complexity

1 บทเรียน · 5 คำถาม

Algorithmic Thinking and Complexity

Big-O, loop analysis, graph algorithms, invariants, and developer-focused discrete math.

1 บทเรียน · 410 คำถาม

Graph Traversal

1 บทเรียน · 5 คำถาม

Least You Need to Know: BFS, DFS, and Connected Components
Breadth-first search explores layer by layer, while depth-first search follows one path deeply before backtracking. Both are core graph tools, and both can be used to discover reachability and connected components.
เปิดบทเรียน