Revert "binary tree & ternary tree"

This reverts commit 9cc649393284c8da66eff06c56e51e9d6c2aef3c.
Revert "Revert "binary tree & ternary tree""

This reverts commit f6c2537ac43699ae30c344c0c9cc7a7f34ae5ff0.