They look fine. Do they work? You may have to verify that they work.
If you write any sort of linked list class or struct yourself, you should probably manually keep track of size. That way when you are asked what size it is, you can give the answer immediately rather than trying to find out yourself.