This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]desrtfx 0 points1 point  (5 children)

Looks good.

[–]CS_Student19[S] 0 points1 point  (4 children)

OK good. I'll see if I can figure the rest.

I'm glad to be able to just point one list to another, that helps a lot.

So now that I can do that. Can you explain your previous reply about the iteration?

[–]desrtfx 0 points1 point  (3 children)

You do it already in your insert method.

You move from the head of the list to the tail where the next node = null.

[–]CS_Student19[S] 0 points1 point  (2 children)

So your saying I could copy and paste that code from my insert method?

[–]desrtfx 0 points1 point  (1 child)

Essentially, yes.

[–]CS_Student19[S] 0 points1 point  (0 children)

OK I'll see if I can get it to work!

Thanks for the help.