DFS, connected components and cycles

Explore deep first; count islands; detect cycles.

Lesson complete

Nice work. Replay it any time.

All courses

About this topic

Explore deep first; count islands; detect cycles.

Part of Data Structures & Algorithms (C++): 25 topics, 5 free.

More topics in this course