Finally pop all Nodes from Stack and prints them .
List < int > v = s . Peek ( ) ; s . Pop ( ) ; for ( int i = 0 , j = v . Count - 1 ; i < j ; ++ i ) { Console . Write ( v [ i ] + " ▁ " + v [ j ] + " ▁ " ) ; j -- ; } }