From dd06dd22aab92d6726bf337dff0d920619e36f94 Mon Sep 17 00:00:00 2001 From: lee Date: Fri, 21 Jun 2019 12:11:31 +0100 Subject: [PATCH] fix readme btreeinsertdata quest12 imports --- subjects/btreeinsertdata.en.md | 13 +++++++++---- subjects/btreeinsertdata.fr.md | 13 +++++++++---- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/subjects/btreeinsertdata.en.md b/subjects/btreeinsertdata.en.md index ff319c892..27a212d85 100644 --- a/subjects/btreeinsertdata.en.md +++ b/subjects/btreeinsertdata.en.md @@ -26,11 +26,16 @@ Here is a possible [program](TODO-LINK) to test your function : ```go package main +import ( + "fmt" + piscine ".." +) + func main() { - root := &TreeNode{data: "4"} - BTreeInsertData(root, "1") - BTreeInsertData(root, "7") - BTreeInsertData(root, "5") + root := &piscine.TreeNode{data: "4"} + piscine.BTreeInsertData(root, "1") + piscine.BTreeInsertData(root, "7") + piscine.BTreeInsertData(root, "5") fmt.Println(root.left.data) fmt.Println(root.data) fmt.Println(root.right.left.data) diff --git a/subjects/btreeinsertdata.fr.md b/subjects/btreeinsertdata.fr.md index ff319c892..27a212d85 100644 --- a/subjects/btreeinsertdata.fr.md +++ b/subjects/btreeinsertdata.fr.md @@ -26,11 +26,16 @@ Here is a possible [program](TODO-LINK) to test your function : ```go package main +import ( + "fmt" + piscine ".." +) + func main() { - root := &TreeNode{data: "4"} - BTreeInsertData(root, "1") - BTreeInsertData(root, "7") - BTreeInsertData(root, "5") + root := &piscine.TreeNode{data: "4"} + piscine.BTreeInsertData(root, "1") + piscine.BTreeInsertData(root, "7") + piscine.BTreeInsertData(root, "5") fmt.Println(root.left.data) fmt.Println(root.data) fmt.Println(root.right.left.data)