Based on the context of "CS 15," this request likely refers to one of two things:
Use private member variables to hide the underlying list or map implementation from the user.
(Harvard’s CS15: “Web Programming”) – map data structure review
Beta 1.0. It featured an expansive industrial exterior leading to an underground garage. Backalley (cs_backalley)
put: $O(1)$ (if adding to the end and not checking for duplicates), but $O(n)$ to check if the key already exists.get: $O(n)$ (requires linear search).remove: $O(n)$ (requires linear search to find the element).