Menu
Coddy logo textTech
Course

Depth-First Search - Graph Algorithms

Master Depth-First Search, a fundamental way to explore a graph. Build the adjacency lookup, write an iterative DFS in your language of choice, analyze its O(V + E) complexity, and use it to count and measure connected components.

Topics

Syllabus

3 chapters9 lessons1 project3 challenges54 quiz questions

Introduction

2 lessons17
  • 01Introduction
  • 02Motivation

The Algorithm

Project5 lessons137
  • 01How it works?
  • 02Pseudo Code
  • 03Implementation (Part 1)
  • 04Implementation (Part 2)
  • 05Time and Space Complexity

Final Challenges

2 lessons2
  • 01Final Challenge #1
  • 02Final Challenge #2

More like this

Topological Sort - Graph Algorithms

Master Topological Sort, the ordering of a directed acyclic graph so every edge points forward. Compute in-degrees, build an order with Kahn's algorithm in your language of choice, detect cycles, and find the longest path in a DAG.

Graph Algorithms Courses
certificate icon

Certificate on completion

  • 9
  • 3
  • 1
  • 55

Breadth-First Search - Graph Algorithms

Master Breadth-First Search, the layer-by-layer graph traversal behind shortest paths. Build the neighbor lookup, write an iterative BFS with a queue in your language of choice, and use it to find shortest-path distances in unweighted graphs.

Graph Algorithms Courses
certificate icon

Certificate on completion

  • 9
  • 3
  • 1
  • 54

Graphs - Data Structures Series #9

In this course, you will learn about the Graph data structure, create an undirected graph from zero in your preferred language, and practice coding challenges with it!

certificate icon

Certificate on completion

  • 14
  • 12

Dijkstra's Algorithm - Graph Algorithms

Master Dijkstra's Algorithm, the greedy single-source shortest-path method for graphs with non-negative weights. Read weighted edges, build the full distance computation in your language of choice, and answer point-to-point and farthest-vertex queries.

Graph Algorithms Courses
certificate icon

Certificate on completion

  • 9
  • 3
  • 1
  • 54

Kruskal's Algorithm - Graph Algorithms

Master Kruskal's Algorithm for Minimum Spanning Trees. Build union-find, grow an MST by adding the cheapest cycle-free edge in your language of choice, and answer connectivity and bottleneck-edge queries.

Graph Algorithms Courses
certificate icon

Certificate on completion

  • 9
  • 3
  • 1
  • 57

Frequently asked questions

How many lessons does Depth-First Search - Graph Algorithms have?

Depth-First Search - Graph Algorithms contains 9 interactive lessons you can complete at your own pace.

What does Depth-First Search - Graph Algorithms cover?

The course is organized into chapters covering: Introduction, The Algorithm, Final Challenges.

Is Depth-First Search - Graph Algorithms free?

Yes - every course on Coddy is free to start. You can complete lessons in your browser without any downloads or signup.
Coddy programming languages illustration

Start Depth-First Search - Graph Algorithms for free

GET STARTED