Ritu Agrawal

0

votes
0

answer
2

views

Swapping between two nodes using the given elements which are present in these nodes. Python-3.0 is used for writing code

I have written code but errors are there when I am compiling the code. One error is I am using push function to add new nodes in the list and last_pointer node is working as local node. So every time when I call function, last_pointer is considered as fresh or unnamed node. Another error is in swapn...
ritu agrawal