leanote binary installation on Mac and Linux (En)
life edited this page on Jul 21, 2017 10 revisions Pages 26 Home How to develop leanote 如何开发leanote How to install leanote on Ubuntu? How to Upgrade Leanote Install Mongodb leanote api leanote …
基本介绍
并查集主要实现两个操作:
合并两个集合查询某个元素的祖宗节点
并查集的两个优化:
路径压缩: O ( l o g n ) O(logn) O(logn)按秩合并: O ( l o g n ) O(logn) O(logn),代码比较复杂,一般不单…