From 5dff25e934c695685e17a79fbce33a674e059e80 Mon Sep 17 00:00:00 2001 From: lee Date: Mon, 4 Nov 2019 10:21:55 +0000 Subject: [PATCH] adding L to Node --- subjects/listlast.en.md | 8 ++++---- subjects/listlast.fr.md | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) 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{} {