Question: 21) Consider the Iterator Abstract Data Type. Which of the following statements is true?: A) It is able to iterate over any container in O(1)
21) Consider the Iterator Abstract Data Type. Which of the following statements is true?: A) It is able to iterate over any container in O(1) B) It is able to traverse a container, isolate its internal structure and access its elements safely C) It provides a method to iterate the container in a user-defined order D) It should be a method provided by the List Data Structure
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
