Skip to content

Built-in function IsBipartite

Created by: gcarleo

The current implementation of CustomGraph relies on external input to determine whether a user-defined Graph is bipartite or not, however it is fairly simple to implement a built-in check. For example see https://www.geeksforgeeks.org/bipartite-graph/