print root node at the end of traversal
Console . Write ( arr [ inIndex ] + " ▁ " ) ; } public virtual int search ( int [ ] arr , int startIn , int endIn , int data ) { int i = 0 ; for ( i = startIn ; i < endIn ; i ++ ) { if ( arr [ i ] == data ) { return i ; } } return i ; }