題組內容

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.