fn new(size: usize) -> Self {
        if size == 0 {
            panic!("Size should be greater that zero");
        }
        Self { parents: (0..size).collect(), count: size }
    }
/// Initialize the quick union union-find data structure with `size` objects. The initialization
/// has linear complexity (O(N)).
///
/// # Arguments
///
/// * `size`: The number of components
Initialize the quick union union-find data structure with `size` objects. The initialization
has linear complexity (O(N)).
Initialize the quick union union - find data structure with ` size ` objects . The initialization has linear complexity ( O ( N )) .
fn new(size: usize) -> Self {
        if size == 0 {
            panic!("Size should be greater that zero");
        }
        Self { parents: (0..size).collect(), count: size }
    }
fn new ( size : usize ) -> Self { if size == 0 { panic ! ( " " ) ; } Self { parents : ( 0 .. size ) . collect ( ) , count : size } }
Initialize the quick union union-find data structure with `size` objects.
Initialize the quick union union - find data structure with ` size ` objects .
size
usize
size
usize