From 8f9d25cbb092917fbcd5403090dd2f5fd61d4cc4 Mon Sep 17 00:00:00 2001 From: Lee Date: Thu, 18 Apr 2019 16:27:12 +0100 Subject: [PATCH] read me listremoveif.md --- subjects/listremoveif.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/subjects/listremoveif.md b/subjects/listremoveif.md index 5952c3d45..2945f5028 100644 --- a/subjects/listremoveif.md +++ b/subjects/listremoveif.md @@ -4,8 +4,6 @@ Write a function `ListRemoveIf` that removes all elements that are equal to the `data_ref` introduced in the argument of the function. -- In case the list is empty print the message `no data on list`. - - Use pointers wen ever you can. @@ -55,9 +53,6 @@ func main() { link2 := &List{} link3 := &List{} - fmt.Println("------answer-----") - ListRemoveIf(link3, 1) - fmt.Println() fmt.Println("----normal state----") student.ListPushBack(link2, 1) @@ -93,9 +88,6 @@ And its output : ```console student@ubuntu:~/student/test$ go build student@ubuntu:~/student/test$ ./test -------answer----- -no data on list - ----normal state---- 1 -> ------answer-----