' n ' correspond to number of nodes in our graph while ' m ' correspond to the number of information about this graph .
n , m = 4 , 3 NEW_LINE info = [ [ 1 , 2 , 12 ] , [ 2 , 3 , 1 ] , [ 4 , 3 , 1 ] , [ 4 , 1 , 20 ] ] NEW_LINE