19 lines
268 B
Python
19 lines
268 B
Python
|
from tree import Tree
|
||
|
from queue import Queue
|
||
|
from stack import Stack
|
||
|
|
||
|
# Beispielbaum
|
||
|
baum = Tree()
|
||
|
baum.insert(9)
|
||
|
baum.insert(6)
|
||
|
baum.insert(8)
|
||
|
baum.insert(5)
|
||
|
baum.insert(4)
|
||
|
baum.insert(11)
|
||
|
baum.insert(12)
|
||
|
baum.insert(15)
|
||
|
baum.insert(10)
|
||
|
baum.insert(13)
|
||
|
baum.show()
|
||
|
|