What is node, node.next and node.next.next in linked-list.?

后端 未结 1 1311
[愿得一人]
[愿得一人] 2021-01-16 04:53

I am just curious about node . node.next and node.next. Until now we have read that node has two part in which it store data and address of next node(node.next) then whats a

相关标签:
1条回答
  • 2021-01-16 05:01

    node = current node

    node.next = next node to current

    node.next.next = 2nd node from current node

    little more explanation about how's your logic work

    0 讨论(0)
提交回复
热议问题