public static void main(String args[]){
        int arr[] = {4, 2, 5, 1, 3};
        SortedOrderPrintCompleteTreeArray sop = new SortedOrderPrintCompleteTreeArray();
        sop.print(arr);
    }
http://www.geeksforgeeks.org/sorted-order-printing-of-an-array-that-represents-a-bst/
Test case
empty array
1 element array
multi element array
src/com/interview/tree/SortedOrderPrintCompleteTreeArray.java