-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Implement a Linked List following python's data model interfaces
The class must use type hint by implementing the following interfaces:
- Sized
- Iterable
- Container
- MutableSequence
The list object must provide the following methods:
- append()
- count()
- index()
- extend()
- insert()
- pop()
- remove()
- reverse()
- sort()
The sequence should also implement addition (meaning concatenation) and multiplication (meaning repetition) by defining the methods
- add()
- radd()
- iadd()
- mul()
- rmul()
- imul()
The sequence should allow the use of the in operator by implementing the method:
- contains()
Metadata
Metadata
Assignees
Labels
No labels