Help for this page

Select Code to Download


  1. or download this
        use strict;
        use warnings;
    ...
        
            return @path;
        }
    
  2. or download this
        Use of uninitialized value in hash element at euler.pl line 54
    
  3. or download this
        $VAR = [5, 4, 3, 5, 2, 3, 1, 2, 4];
    
  4. or download this
        def eulerPath(graph):
            # counting the number of vertices with odd degree
    ...
        
        stack_ = eulerPath({ 1:[2,3], 2:[1,3,4,5], 3:[1,2,4,5], 4:[2,3,5],
    + 5:[2,3,4] })
        print stack_