Browse Source

Update btreeinsertdata.fr.md

pull/200/head
LEEDASILVA 5 years ago committed by GitHub
parent
commit
50499a99a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      subjects/btreeinsertdata.fr.md

10
subjects/btreeinsertdata.fr.md

@ -32,14 +32,14 @@ import (
)
func main() {
root := &piscine.TreeNode{data: "4"}
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)
fmt.Println(root.right.data)
fmt.Println(root.Left.Data)
fmt.Println(root.Data)
fmt.Println(root.Right.Left.Data)
fmt.Println(root.Right.Data)
}
```

Loading…
Cancel
Save