Given pairs of adjacent elements
List < Pair > A = new List < Pair > ( ) ; A . Add ( new Pair ( 5 , 1 ) ) ; A . Add ( new Pair ( 3 , 4 ) ) ; A . Add ( new Pair ( 3 , 5 ) ) ; find_original_array ( A ) ; } }