0 votes
in Go Semantics Supplemental by
Which of the following code snippet is the correct representation of a Node in Linked List

a) type Node struct {

  value int

  next *Node

  prev *Node

}

b) type Node struct {

   value int Value2

   string prev *Node

}

c) type Node struct {

  Value int

  tail *Node

}

d) type Node struct {

  next *Node

  prev *Node

}

1 Answer

0 votes
by
a) type Node struct {

  value int

  next *Node

  prev *Node

}
...