題組內容

六、本題考慮常見的兩種搜尋法:循序搜尋法(Sequential Search)及二元搜尋法(Binary Search)。

⑴ 請以虛擬碼(Pseudo Code)分別描述這兩種搜尋法的演算法。(20 分)