diff --git a/subjects/listlast.en.md b/subjects/listlast.en.md index fc009a6e5..1995d61d9 100644 --- a/subjects/listlast.en.md +++ b/subjects/listlast.en.md @@ -7,14 +7,14 @@ Write a function `ListLast` that returns the last element of a linked list `l`. ### 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 ListLast(l *List) interface{} { diff --git a/subjects/listlast.fr.md b/subjects/listlast.fr.md index 2d8f08552..f8af75df8 100644 --- a/subjects/listlast.fr.md +++ b/subjects/listlast.fr.md @@ -9,12 +9,12 @@ ```go type Node struct { Data interface{} - Next *Node + Next *NodeL } type List struct { - Head *Node - Tail *Node + Head *NodeL + Tail *NodeL } func ListLast(l *List) interface{} {