목차
없음
본문내용
BST : 40 10 20 50 7 15
Choice? M
[Menu: 1.Insert, 2.Pre, 3.In, 4.Post, 5.Exit] Choice? 1
Enter the number(s) to be inserted to BST : 9
Choice? 2
[Preorder] : 20 10 7 9 15 40 50
Choice? I
Enter the number(s) to be inserted to BST : 20
No two elements has the same key!!
Choice? 3
[Inorder] : 7 9 10 15 20 40 50
Choice? 9
[Postorder] : 9 7 15 10 50 40 20
Choice? 1
Enter the number(s) to be inserted to BST : 5 6 9 8 10 7 4 1
No two elements has the same key!!
No two elements has the same key!!
No two elements has the same key!!
Choice? 3
[Inorder] : 1 4 5 6 7 8 9 10 15 20 40 50
Choice? 2
[Preorder] : 10 7 5 4 1 6 9 8 20 15 40 50
Choice? 1
Enter the number(s) to be inserted to BST : 1 2 3
No two elements has the same key!!
Choice? 3
[Inorder] : 1 2 3 4 5 6 7 8 9 10 15 20 40 50
Choice? x
Choice? M
[Menu: 1.Insert, 2.Pre, 3.In, 4.Post, 5.Exit] Choice? 1
Enter the number(s) to be inserted to BST : 9
Choice? 2
[Preorder] : 20 10 7 9 15 40 50
Choice? I
Enter the number(s) to be inserted to BST : 20
No two elements has the same key!!
Choice? 3
[Inorder] : 7 9 10 15 20 40 50
Choice? 9
[Postorder] : 9 7 15 10 50 40 20
Choice? 1
Enter the number(s) to be inserted to BST : 5 6 9 8 10 7 4 1
No two elements has the same key!!
No two elements has the same key!!
No two elements has the same key!!
Choice? 3
[Inorder] : 1 4 5 6 7 8 9 10 15 20 40 50
Choice? 2
[Preorder] : 10 7 5 4 1 6 9 8 20 15 40 50
Choice? 1
Enter the number(s) to be inserted to BST : 1 2 3
No two elements has the same key!!
Choice? 3
[Inorder] : 1 2 3 4 5 6 7 8 9 10 15 20 40 50
Choice? x
소개글