Modify the algorithm from the previous exercise so that it makes use of a rear reference. How does this affect the time complexity of this and the other operations?
Ex 4.5
Module addNodeAtEndUsingRear(int val, node *head, node *rear)
+1 (231)-518-0303 [email protected]
Modify the algorithm from the previous exercise so that it makes use of a rear reference. How does this affect the time complexity of this and the other operations?
Ex 4.5
Module addNodeAtEndUsingRear(int val, node *head, node *rear)