dsalgo/
is_bipartite_graph.rs

1use crate::label_bipartite_graph_with_bfs::label_bipartite;
2
3pub fn is_bipartite(g: &[Vec<usize>]) -> bool {
4    label_bipartite(g).is_some()
5}
6
7#[cfg(test)]
8
9mod tests {
10
11    #[test]
12
13    fn test() {
14        // TODO:
15    }
16}