AI engineering glossary · Data structures algorithms

What is bipartite graph?

Bipartite graph: A graph whose vertices can be split into two groups so that every edge joins a vertex in one group to a vertex in the other. It can be tested by colouring vertices with two colours using traversal.

Level: advancedTopic: Data structures algorithms

Bipartite graph: an example

Students on one side and courses on the other, with edges for enrolment, form a bipartite graph because no edge joins two students.

Related terms

More Data structures algorithms terms

Where you learn it

Bipartite graph is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.