Add a __len__() function to doubly_linked_list.py - #2042
Add a __len__() function to doubly_linked_list.py#2042Lakshmikanth2001 wants to merge 25 commits into
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
cclauss
left a comment
There was a problem hiding this comment.
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
|
@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}.