pub fn is_fvs(adj: &[Vec<usize>], fvs: &[usize]) -> bool
Check if a given set S is a feedback vertex set for the graph.