Browse Source

change type Node to NodeL

content-update
Augusto 5 years ago
parent
commit
a36cac7175
  1. 8
      subjects/listpushfront.en.md

8
subjects/listpushfront.en.md

@ -7,14 +7,14 @@ Write a function `ListPushBack` that inserts a new element `node` at the beginni
### Expected function and structure
```go
type Node struct {
type NodeL struct {
Data interface{}
Next *Node
Next *NodeL
}
type List struct {
Head *Node
Tail *Node
Head *NodeL
Tail *NodeL
}
func ListPushFront(l *List, data interface{}) {

Loading…
Cancel
Save