阿摩線上測驗 登入

申論題資訊

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

題組內容

4. The available-space lists for linked lists are used to "recycle" unused list items instead of releasing their memory.

申論題內容

(3%) (b) Describe in pseudo-code of how to implement the function clear, which should run in O(1) time complexity. This function clears the content of a list so that its size becomes zero.