Skip to content

Commit 3eef945

Browse files
author
Tymoteusz
authored
Update rules and spelling
1 parent 2b87448 commit 3eef945

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

binary-tree/README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# Binary tree
2-
You have to build simple binary-tree (can be in console just node of this tree or you can output it with graph in HTML/CSS)
2+
You have to build a simple binary tree (there can only be a node of this tree in the console or you can plot it with HTML/CSS)
33

4-
Core rules:
5-
- left lower numbers/right higher numbers rule have to work for all "rows"
6-
- added option/automatic sorting numbers from lowest to highest (sorting by searching through tree, not by other sortings)
7-
- have to work for all integer numbers
4+
Basic principles:
5+
- left = smaller
6+
- for each node
7+
- right = greater
8+
- for each node
9+
- (optional) adding an option to automatically sort numbers from the lowest to the highest (sorting by searching the tree, not by other sorting)
10+
- they must work for all integers
11+
- adding the possibility of adding new values to the tree
812

913
Helpful links:
1014

0 commit comments

Comments
 (0)