阿摩線上測驗 登入

申論題資訊

試卷:110年 - 110台灣聯合大學系統_碩士班招生考試_電機類:資料結構#104954
科目:研究所、轉學考(插大)-資料結構
年份:110年
排序:0

題組內容

1. A string matching algorithm aims to find the occurrence of a string P within another string (5%)

申論題內容

(5%) (b) The Knuch-Morris-Pratt (KMP) algorithm is a string matching algorithm designed to reduce redundant symbol comparisons in string matching. What is the big-O time complexity, in terms of NP and Ns, of the KMP algorithm?