Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr


        

Your Answer

Running test: bst_public_test
cout << tree.to_string()

       5      
     /  \     
    3   7     
   /  \/  \   
              

cout << tree
(uses iterators)
[ 3 5 7 ]

preorder
5 3 7 

inorder
3 5 7 

PASS

*** Results ***
** Test case "bst_public_test": PASS
*** Summary ***
Out of 1 tests run:
0 failure(s), 0 error(s)

JOJ Answer

Running test: bst_public_test
cout << tree.to_string()

       5      
     /  \     
    3   7     
   /  \/  \   
              

cout << tree
(uses iterators)
[ 3 5 7 ]

preorder
5 3 7 

inorder
3 5 7 

PASS

*** Results ***
** Test case "bst_public_test": PASS
*** Summary ***
Out of 1 tests run:
0 failure(s), 0 error(s)