![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法和数据结构
文章平均质量分 71
tangzhenyu1990
这个作者很懒,什么都没留下…
展开
-
合并两个二叉排序树(二叉查找树)到一个数组中
package Training; import java.util.Stack; import Training.BinaryTree.TreeNode; /** * Content:合并两个二叉排序树(二叉查找树)到一个数组中 * @author tangzhenyu * Specialty:不修改原始的那两个二叉排序树,以中序遍历顺序遍历两颗二叉排序树,排序运用的是归并排序的思想。原创 2014-04-25 14:30:06 · 3894 阅读 · 0 评论 -
打印n个字符的所有组合
package Training; /** * Content:打印n个字符的所有组合 * @author tangzhenyu * */ public class Combination_Clear { static char[] arr; static int mask = 1; static void combination(E[] a){ int l = a.leng原创 2014-04-25 14:43:21 · 601 阅读 · 0 评论