I have drawn these two binary trees.
The ordered set of numbers is [-9, -5, 0, 1, 5, 7, 8, 10, 11]
The first one is in prefix order and the second is in postfix order, but I'm not sure if my trees are correct? And are they balanced?
I have drawn these two binary trees.
The ordered set of numbers is [-9, -5, 0, 1, 5, 7, 8, 10, 11]
The first one is in prefix order and the second is in postfix order, but I'm not sure if my trees are correct? And are they balanced?
Copyright © 2021 JogjaFile Inc.
