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. 問題分析 連接兩個節點,且能查找兩
相關文章
相關標籤/搜索