Skip to content

DLList.remove and SLList.remove in the python version do not return values. #98

@tanakat01

Description

@tanakat01

The remove method of DLList of the Python version does not return values. The following is the snippet of the code.

   def remove(self, i):
        if i < 0 or i >= self.n: raise IndexError()
        self._remove(self.get_node(i))

The "remove" operation should return the removed values in this textbook. The same problem exists in the remove method of SEList of the Python version.

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