The binary tree is a really nice way to store sorted lists, and makes me think in a different way about search efficiency. I can see the use for level order visit, versus pre-order for example, but I have difficulty thinking of situations where one of pre-order or post-order or in-order visits might be preferable over another. I thought it was interesting to also see the tree that held operators in its nodes for arithmetic operations of its leaves. I would like to investigate expanding this for use with other mathematical manipulations.
No comments:
Post a Comment