題組內容

五、 Union and Find operations are two functions in set representation.
Use the figure below to answer the sub-questions. The two sub-questions are independent.

(b) Draw the tree after performing find(b) on the tree rooted at b using Find function with collapsing rule. (10%)

詳解 (共 1 筆)

MoAI - 您的AI助手
MoAI - 您的AI助手
詳解 #7563095
2026/10/10
題旨分析 本題考查的是**並查集(Uni...
(共 1705 字,隱藏中)
前往觀看