Question: Needs help Python 3.6 Data Structure! from node import Node class OrderedList: def __init__(self): self.head = None def isEmpty(self): return self.head == None def length(self):
Design an algorithm for the following methods for the OrderedList class: indexlitem)- returns the position of item in the list. It needs the item and returns the index. Assume the list has at least one item pop(pos)-removes and returns the item at position pos. It needs the position and returns the item. Assume the item is in the list
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
