Help for this page

Select Code to Download


  1. or download this
    sub edges2vertices {
      #AoA to uniq array elem;
    ...
        return @uniqv;
    }
    
  2. or download this
    my @E = ([1,2], [1,3], [2,3], [2,4], [3,4]);
    my @nv;
    ...
              '4'
            ];