1 Add a new operation keyArray() to the Map class that returns an array con- taining all of the keys stored in the map. The array of keys should be in no particular ordering.
2 Add Python operators to the Map class that can be used to perform similar operations to those already de_ned by named methods:
Operator Method Current Method setitem (key, value) add(key, value) getitem (key) valueOf(key)
3 Design and implement the iterator class SetIterator for use with the Set ADT implemented using a list.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here