摘要: import java.util.ArrayList; import java.util.TreeMap; import util.FileOperation; public class Trie { private class Node{ public boolean isWord; public TreeMap next; ... 阅读全文
posted @ 2018-09-18 10:44 即便那总是过去 阅读(264) 评论(0) 推荐(0) 编辑
摘要: public class unionfind2 implements UF { int[] parent; int[] rank; public unionfind2(int n) { parent=new int[n]; rank=new int[n]; for(int i=0;irank[qroot]){ ... 阅读全文
posted @ 2018-09-18 10:43 即便那总是过去 阅读(205) 评论(0) 推荐(0) 编辑