Week 1 | Union-Find | Princeton Algorithms

解决算法问题的步骤: ・Model the problem. ・Find an algorithm to solve it. ・Fast enough? Fits in memory? ・If not, figure out why. ・Find a way to address the problem. ・Iterate until satisfied. 1. 问题分析 连接两个节点,且能查找两
相关文章
相关标签/搜索