Revert "Revert "Revert "binary tree & ternary tree"""

This reverts commit 18e7cfc36190d59d0613329bee3369f264b514f2.