阿摩線上測驗 登入

申論題資訊

試卷:110年 - 110 國立政治大學_碩士班暨碩士在職專班招生考試_資訊科學系:資料結構及演算法#105973
科目:研究所、轉學考(插大)◆資料結構及演算法
年份:110年
排序:0

申論題內容

6. (15%) Consider an n-node sorted singly linked list L, where the first node (ie., the head) stores the smallest data, the last node (i.e., the tail) stores the largest data, and the61f25be687b58.jpgnode stores the 61f25be687b58.jpg smallest data. Given the address of L's head and a key, is it possible to search for the key in L in O(logn) time? Please explain your answer.