【系統公告】頁面上方功能列及下方資訊全面更換新版,舊用戶可再切回舊版。 前往查看

研究所、轉學考(插大)◆資料結構及演算法題庫

【非選題】
8. (10%) Consider a 500-node binary heap, whose array representation is stored in Arr. Let p be a node in the binary heap. Further assume that u is p's child node and u's key is stored at Arr[305].

【題組】 a. (5%) How to find p's key in Arr?