1. Suppose that a list contains the values 20 44 48 55 62 66 74 88 93 99 at index positions 0 through 9. Trace the values of the variables….
Add an instance variable _logicalSize to the Array class.
1. Data in a singly linked structure are contained in
2. Most operations on singly linked structures run in
a constant time
b linear time
3. It requires constant time to remove the first item from a(n)
b singly linked structure
4. Add an instance variable _logicalSize to the Array class. This variable is initially 0, and will track the number of items currently available to users of the array. Then add the method size() to the Array class. This method should return the array’s logical size. The method __len__ should still return the array’s capacity or physical size.