Test Cases (0/3)

      bst.add(6);

    • bst.traverse() to log 1 3 4 5 7 10

    • bst.add(20);

    • bst.traverse() to log 1 3 4 5 6 7 10

    • bst.traverse() to log 1 3 4 5 7 10 20

    Output
    Michael
      (0/300)