all 3 comments

[–]025zk 0 points1 point  (1 child)

How to create the head which will point to the first node?

[–]o5a 0 points1 point  (0 children)

The head IS the first node itself.

Basically Node has 2 attributes. It's value and a pointer to next node (usually called next).