摘要:
import java.util.LinkedList;import java.util.Queue;import java.util.Scanner;import design.BTree.BTNode;public class HuffMan { HNode root=new HNode(... 阅读全文
摘要:
import java.util.LinkedList;import java.util.Queue;import java.util.Scanner;//孩子链表表示法public class CTree{ PLNode nodes[]=new PLNode[20]; int n; PLNode ... 阅读全文
摘要:
import java.util.LinkedList;import java.util.Queue;import java.util.Scanner;//双亲表示法创建public class PTree{ PTNode nodes[]=new PTNode[15]; int n; ... 阅读全文