Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tanakat01 opened this issue May 2, 2022 · 0 comments

Comments

@tanakat01
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant