- 统计字符出现字数 - 使用split方法然后获得所有片段的长度 - 使用replace方法替换为空 - [[树]] #数据结构 - 二叉树的遍历 - 先序遍历 - ![image.png](../assets/image_1695911709943_0.png) - private void preOrder(BTnode t) - 中序遍历 - ![image.png](../assets/image_1695911700708_0.png) - 后序遍历 - ![image.png](../assets/image_1695911682910_0.png)