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

Add common abstract methods in LinkedList #187

Closed
czgdp1807 opened this issue Mar 21, 2020 · 0 comments · Fixed by #223
Closed

Add common abstract methods in LinkedList #187

czgdp1807 opened this issue Mar 21, 2020 · 0 comments · Fixed by #223

Comments

@czgdp1807
Copy link
Member

Description of the problem

Some methods which are common to all the child classes of LinkedList aren't defined as abstract methods in the superclass itself. To fix this issue such methods should be added.
See the following template,

def name_of_abstract_method(self, arg1, arg2, ..., argn):
    raise NotImplementedError("This is an abstract method")

If you will go through other files such methods are pretty common to locate.

Example of the problem

References/Other comments

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

Successfully merging a pull request may close this issue.

1 participant