-
-
Notifications
You must be signed in to change notification settings - Fork 46.6k
Add a __len__() function to doubly_linked_list.py #2042
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
Conversation
please add a function to get length of linked list
all size function lo doubly linked list class
Update doubly_linked_list.py
Update __init__.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please undo the maths/prime_check.py change and move that to a separate pull request as discussed in CONTRIBUTING.md.
made it more pythonic
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blocked by #2052
@Lakshmikanth2001 Thanks for this pull request because it found a flaw in doubly_linked_list.py. It would be great is you could fix that algorithm so that the tests in #2052 pass. If not, I will try to fix that at the end of this week. Thanks again. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Please reopen this issue once you commit the changes requested or make improvements on the code. Thank you for your contributions. |
Blocked by #2052
Describe your change:
in linked list class constructor i have added a data member called size and a function call length
Checklist:
Fixes: #{$ISSUE_NO}
.