added addressing support to linked list - #66
Conversation
| node = self.head | ||
| while node: | ||
| out_list.append(node.value) | ||
| out_list.append([node.value,hex(id(node))]) |
There was a problem hiding this comment.
add space after comma (can use flake 8)
There was a problem hiding this comment.
well that's some unneccessary change and i use pylinter
|
@ravi5175 @devkapilbansal will it be fine if we add address when converting the linkedlist to python list. because if a user needs conversion of linked list to python list then why we are providing the addresses also. |
@codesankalp it is still a list with a advanced usecase where a user can manually access the node located at some address, it can also be used used as a list with node values. |
Signed-off-by: Ravi Pawar <ravipawar5175@gmail.com>
|
@ravi5175 change maintainers file to AUTHOR Add Contributors and Authors there There will be three section: |
|
@ravi5175 resolve conflicts and rebase your current branch with our master branch |
|
@ravi5175 Please do req changes, So that we move ahead with this PR |
Description
Related Issues
Fixes #65
Type of Change:
Code/Quality Assurance Only
How Has This Been Tested?
proper testing has been done in the test/linkedlist.ipynb file
Checklist:
Screenshots (if appropriate):