Function that finds the last node in the List and inserts a new node at the end of the List

Asked

Viewed 23 times

1

Complete the function below that finds the last node in the List and inserts a new node at the end of the List. What’s the problem of this function? How to improve it?

inserir a descrição da imagem aqui

I’m new to data structure, if someone can give me a light, because it’s very difficult to understand logic without resolution.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.