mirror of https://github.com/01-edu/public.git
Add notions of the binary trees
This commit is contained in:
parent
86f550a545
commit
9fae2e5968
|
@ -2,10 +2,14 @@
|
||||||
|
|
||||||
### Instructions
|
### Instructions
|
||||||
|
|
||||||
Write a function that inserts new data in a binary search tree following the properties of binary search trees.
|
Write a function that inserts new data in a `binary search tree` following the special properties of a `binary search trees`.
|
||||||
|
|
||||||
The nodes must be defined as follows :
|
The nodes must be defined as follows :
|
||||||
|
|
||||||
|
### Notions
|
||||||
|
|
||||||
|
- [binary search trees](https://en.wikipedia.org/wiki/Binary_search_tree)
|
||||||
|
|
||||||
### Expected function
|
### Expected function
|
||||||
|
|
||||||
```go
|
```go
|
||||||
|
|
Loading…
Reference in New Issue