- Node is an element of a linked list of integers. Define Node, and implement the function:
Node *addToEnd( Node *list, int val ). - In my implementation of addToNode(), I separately handled the case when the list is NULL. I was asked to improve the implementation to merge handling both cases. Hint: Use a Node ** variable.
No comments:
Post a Comment