小姿势

1.交换维度使得访问节点连续可以加速

2.对于树,联通块个数=点数-边数

原文地址:https://www.cnblogs.com/darklove/p/8176181.html