Hi there,
I have two questions:
1. I nedd a function to swap the position of two pointers p,q that point to two diffrent node. ( not only the info - but the position of the node)
2. Given two ordered linkedlists L1, L2 I need a funtion that deletes every element of L2 founf in L1.
with the following header:
void delete<orderedl inkedlist<type> & L1, const orderedlinkedli st <type> & L2)
Thanks
I have two questions:
1. I nedd a function to swap the position of two pointers p,q that point to two diffrent node. ( not only the info - but the position of the node)
2. Given two ordered linkedlists L1, L2 I need a funtion that deletes every element of L2 founf in L1.
with the following header:
void delete<orderedl inkedlist<type> & L1, const orderedlinkedli st <type> & L2)
Thanks