Skip to content

Implement a Linked List #1

@taciogt

Description

@taciogt

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions