Question: Need help, CS 222 Data Structure python 3.6 63-bit. from node import Node class OrderedList: def __init__(self): self.head = None def isEmpty(self): return self.head ==
CS 222 01 Chapter 03 Algorithm Design Due: Friday, October 26, 2018 Use the OrderedList class for this assignment. Design an algorithm for the following methods for the OrderedList class: index(item)- 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
