Search:

Type: Posts; User: ueg1990

Search: Search took 0.08 seconds.

  1. Replies
    3
    Views
    2,812

    Re: swapping nodes in a linked list

    im using my own code......lets say i have my function: swap(Node n1, Node n2);
    since i want to swap nodes, how do i pass the nodes that i want to swap? if i want to pass node with content 5 and node...
  2. Replies
    3
    Views
    2,812

    swapping nodes in a linked list

    i have a question regarding swapping nodes in a linked list. Suppose we have a linked list : 2->5->7->4->6

    Suppose we want to swap node with value 5 and node with value 4. What do we pass as...
Results 1 to 2 of 2